Mac OS Command Line

This is a discussion on Mac OS Command Line within the C++ Programming forums, part of the General Programming Boards category; I was wondering.... I read on WikiPedia that the Mac's command line was built off of Unix....So if I wanted ...

  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
    Portugal
    Posts
    7,510
    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.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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, 03:45 AM
  3. Mac OS X aliases
    By rak1986 in forum C Programming
    Replies: 4
    Last Post: 01-21-2009, 11:11 AM
  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

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