compiled under windows, work for mac os?

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...

  1. #1
    Shadow12345
    Guest

    compiled under windows, work for mac os?

    if you compile a program under windows it can't be used in the mac os can it?
    tthanks in advanced

  2. #2
    Ted
    Ted is offline
    Registered User
    Join Date
    Aug 2001
    Posts
    52
    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,

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Vector that creates new windows doesn't work (MFC)
    By Shadow12345 in forum Windows Programming
    Replies: 6
    Last Post: 09-10-2002, 07:39 AM
  2. Printing and DOS within Windows OS
    By kes103 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 04-03-2002, 07:42 PM
  3. Getting Layered Windows to Work
    By Si in forum Windows Programming
    Replies: 3
    Last Post: 01-22-2002, 05:21 PM
  4. Replies: 6
    Last Post: 01-07-2002, 01:46 AM
  5. Copying Windows (not the os)
    By DutchStud in forum Windows Programming
    Replies: 5
    Last Post: 11-02-2001, 06:05 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21