c++visual-studio-2010cross-platform

is c++ source code portable to linux when it successfully compiles within Visual Studio 2010


I would like to use Visual Studio 2010 to create a C++ application that will eventually run on Linux

Are there any compatibility/version issues that I should be aware of? Which compiler should I use on Windows and on Linux?


Solution

  • The compiler is unimportant as long as you use standard C++ and no platform specific extensions. If you need system specific facilities (networking, filesystem...), try to use an abstraction layer such as boost.