Is C++ platform dependent?

后端 未结 7 2082
傲寒
傲寒 2020-12-04 16:33

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

7条回答
  •  粉色の甜心
    2020-12-04 17:24

    Actually C++ is not a platform dependent, but the output it produces is in .exe or other format which is depend on the platform you are using. so simply C++'s code is independent of platform, just the output comes after compilation is dependent.

提交回复
热议问题