Thread: Mac OS Command Line

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    47

    Mac OS Command Line

    I was wondering....

    I read on WikiPedia that the Mac's command line was built off of Unix....So if I wanted to program for the Mac's command line, would the code be the same as for a Unix program?

    Thanks!
    Windows XP Service Pack 2
    Borland C++ Compiler Version 5.5

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    With a few exceptions, if you write code that uses exclusively the standard C++ facilities, your code will run on an UNIX, Mac and Windows machine without any change. Just needs to be recompiled on each target machine.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mac OS X Users/C programmers?
    By petermichaux in forum C Programming
    Replies: 16
    Last Post: 04-18-2011, 06:36 AM
  2. Replies: 1
    Last Post: 02-03-2009, 04:45 AM
  3. Mac OS X aliases
    By rak1986 in forum C Programming
    Replies: 4
    Last Post: 01-21-2009, 12:11 PM
  4. Mac OS X Programming
    By Exile in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 05-06-2005, 03:12 PM
  5. Assembly & Mac OS X
    By kristy in forum Tech Board
    Replies: 2
    Last Post: 07-29-2003, 04:29 PM