I dont understand how the C/C++ language is portable?
1.) What makes a program compilable on 2 different O/S's?
2.) Doesn't this depend on the O/S manufacturer? How does Microsoft do this?
3.) What determines wether a language is portable or will only work on one operating system?
lochnessmonster 0 Junior Poster
Recommended Answers
Jump to PostEach compiler is written specifically for the OS it runs on. The compiled program therefore runs only on the OS it was built on.
Standard C/C++ relates to the source code. All compilers should accept any C/C++ code that was written to the C/C++ Standard and output a working …
All 3 Replies
sergent 52 Posting Pro
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
JasonHippy 739 Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.