Possible Duplicate:
The Definitive C++ Book Guide and List
I am faced with the problem of portable code development (C or C++).
Could somebody advise me which book could help in this question?
Edited:
Actually I don’t know the types of platforms. I was asked to write a simple program. This program must be portable. I am not expert in this question. I don’t understand what it means and what should I do.
Edited
Here is an article devoted to this problem:
http://www.feyrer.de/PGC/Fighting_the_Lemmings.pdf
As I understood, the problem is real.
I’d like to research this question before writing my program.
How ‘portable’ is portable? DO you mean just Windows/Linux or do you mean it must also port to an 8051 uProc?
The C standard library and C++ are pretty much well supported everywhere. Some C++11 features aren’t implemented on all compilers – but the common ones are.
The tricky part comes when you want to talk to anything in the OS or hardware – at which point it might be worth just using something like Qt or WxWidgets – or sticking to Boost.