Can we say that C++ is platform dependent?
I know that C++ uses compiler, and those compiler are different for different platforms. When we compile C++ code using co
C++ is not platform dependent - in fact there is a standard that all vendors try to implement. What you mean is that the EXECUTABLE that is produced is platform dependent. That is because each OS has a different definition and requirements of what constitutes a valid executable file. Also, each OS has a different set of APIs used for implementing core services that need to be linked against by the C++ linker and compiler. But this has nothing to do with C++ as a language.