How to write portable code in c++?

understack picture understack · Jun 23, 2010 · Viewed 18k times · Source

What are the things that I should keep in mind to write portable code? Since I'm a c++ beginner, I want to practice it since beginning.

Thanks.

Answer

Alexandre C. picture Alexandre C. · Jun 23, 2010
  • learn to use the standard library
  • read books (eg. this one)
  • when you're experienced, learn to use boost