c++portability

How can I write portable code in C++? What do I need to keep in mind?


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.


Solution