+ 3

Windows and Linux dev. differences

Could somebody tell me a page that shows the different functions for every OS (like system() in Windows and it's Linux equivalent)

7th Jun 2017, 1:36 AM
Andrés04_ve
Andrés04_ve - avatar
1 Answer
+ 1
Standard C++ will look the same everywhere. What differs is if you use different libraries, e.g. the WinAPI on Windows. You can't use the WinAPI on Linux so you will have to use something else. Some compilers have language extensions e.g. GCC's variable length arrays. If you want be cross platform you should try to stay away from language extensions and use cross platform libraries....as far as Linux dev is concerned understanding the POSIX philosophy better will help you to mimic WinAPI in a better way..
7th Jun 2017, 6:51 AM
n00kl33r
n00kl33r - avatar