if you compile a program under windows it can't be used in the mac os can it?
tthanks in advanced
This is a discussion on compiled under windows, work for mac os? within the C++ Programming forums, part of the General Programming Boards category; if you compile a program under windows it can't be used in the mac os can it? tthanks in advanced...
if you compile a program under windows it can't be used in the mac os can it?
tthanks in advanced
You can write portable code that can be compiled for different machines. However, not all machines speak the same machine language. The different compilers are targeted toward specific operating systems. So if you wish to write code for the various operating systems you need the different compilers.
hth,