0

Is it possible to run c++ program compiled by any compiler in any platform?

Is it possible to run c++ program compiled by any compiler in any platform(Windows,Mac,Linux)?If no, have I use different code/compiler for same process in different platforms? Please forgive me for asking a basic level question. Thank you in advance

27th Apr 2018, 7:06 PM
skt 52087102
skt 52087102 - avatar
2 Respostas
+ 3
The compiler you use must be meant for the platform you target. You could use a compiler from the same vendor to do multiple platforms, but each platform must be compiled separately.
27th Apr 2018, 7:40 PM
John Wells
John Wells - avatar
0
Thank you
28th Apr 2018, 11:36 AM
skt 52087102
skt 52087102 - avatar