What operating systems is c++ capable of running on?
any system in the universe that has a C++ compiler written for it. C++ is a language, languages can run on any platform as they are just an interface between human-readible code and machine-readible code. a compiler+linker translates the C++ language into machine-readible code.
-me
-me
Quote:Original post by johnnyBravoSimple answer (and I'm serious)
Hi, i'm just wondering what operating systems c++ is capable of running on?
Anybody who has to ask this question, has never heard of one that it won't "run" on.
Anything!! c++ is platform independant, as long as there are development tools and libraries for that platform
thats my understanding of if
hope that helps
-Dan
thats my understanding of if
hope that helps
-Dan
So if i wrote a c++ program using non specific platform libraries in windows, could i use that on mac?
If the platform can compute, C++ can run on it. It might take quite a bit of work to get your program working on it though (I'm guessing that you'd need to write your own compiler for quantum machines or something, and I'm guessing it probably wouldn't be easy).
Quote:Original post by johnnyBravo
So if i wrote a c++ program using non specific platform libraries in windows, could i use that on mac?
Signs point to no, unless you use an x86 emulator on the mac end, or a cross compiler on the windows end.
The executable your compiler generates is compatable only with the environment the compiler is setup for.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement