C++ for Windows edited on Mac?

Discussion in 'Mac Programming' started by neptunet, Feb 1, 2011.

  1. neptunet macrumors newbie

    Joined:
    Sep 12, 2005
    #1
    I have to write some C++ programs for Win32 for class.. is there any way for me to do this in Mac OS X or is it a waste?
     
  2. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #2
    Standard C++ with command line interface: No problem, except that Windows compilers are often quite bad at supporting the C++ standard.

    Windows-specific user interface: Not a chance, but then a C++ programming course shouldn't require that.
     
  3. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #3
    The problem comes from the build system. On Mac OS X people generally use make which is pain to get working on Windows. Something like cmake is a better option as it works on both Mac OS X and Windows and is fairly straightforward to use.
     

Share This Page