Mac API for C

This is a discussion on Mac API for C within the Tech Board forums, part of the Community Boards category; All this talk about Macs has been making me thirsty... Since I'm simultaneously making my server program for Unix based ...

  1. #1
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913

    Mac API for C

    All this talk about Macs has been making me thirsty...

    Since I'm simultaneously making my server program for Unix based systems and Windows, I thought add Apple into the mix.

    I gave google a quick search to see if I could get some information on the Mac API (hoping for an approach similar to windows.h and winsock.h), but alas, it appears that it is not as simple as this, and I'm really having trouble getting my feet planted.

    What is the 'official' API for Apple Macs (if any?). I'm using C.

    Thanks a lot if you could shed some light on the subject for me.

  2. #2
    Lonewolf
    Join Date
    Nov 2004
    Location
    St. Louis, MO
    Posts
    24
    Not sure if this will help much, but for anything about Mac, go here: http://developer.apple.com
    COMPILER: Borland 5 ( trying to get MV C++ ); LANGUAGE(s): English, Vietnamese, and basic German;
    Current IDE: Dev C++ 5 (Beta)

  3. #3
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    OS-X is Unix based and supports POSIX. A program that compiles on Unix will probably compile on OS-X without too many changes.

  4. #4
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Not sure if this will help much, but for anything about Mac, go here: http://developer.apple.com
    Already tried them, but thanks. They seem to assume that you already know what you need to do.

    OS-X is Unix based and supports POSIX. A program that compiles on Unix will probably compile on OS-X without too many changes.
    Ooh...

    Well I made a list of all the APIs I saw listed at google, and looked them up individually - it looks like Carbon is what I need. Thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to Send Mac Address From Client to Server
    By Lieyza197 in forum C Programming
    Replies: 2
    Last Post: 05-27-2009, 09:58 AM
  2. Mac OS X Programming
    By Exile in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 05-06-2005, 03:12 PM
  3. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 06:18 AM
  4. FILES in WinAPI
    By Garfield in forum Windows Programming
    Replies: 46
    Last Post: 10-02-2003, 06:51 PM
  5. a MAC API?
    By face_master in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 06-12-2002, 04:28 AM

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