Results 1 to 7 of 7
  1. #1
    NiceKidDoRoxx
    Guest
    C Programming on Mac
    I still use Borland C/C++ on my college. now, after I bought iBook, it's very difficult to find the substitute for it. Are there any free C compiler *like borland c/c++* for mac?

    I tried XTools 2.2, but it was too complicated for me...

    thx b4.

  2. #2
    C Programming on Mac

    Member Since
    Mar 05, 2005
    Posts
    282
    I build Mozilla products on the Mac and it took me notime at all to get up and running on the free Mac tools. I'd give it another shot. You might also take a look at the directions for getting Mozilla set up for building as this should give you everything that you need as well.

  3. #3
    lil
    Guest
    XCode 2.2 is not tricky if you actually take some time to read the documentation.

    It is very good and worth sitting down and reading for a while, it will pay dividends instead of trying to dive in and expecting it to all come immediately.

    The trick is that you are using an IDE in XCode and you need to use the New Project menu; if you want to build command line only stuff; go down to Foundation Tool in the project type.

    After that, please read the documentation supplied.

    Vicky

  4. #4
    C Programming on Mac

    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)
    Quote Originally Posted by NiceKidDoRoxx
    I still use Borland C/C++ on my college. now, after I bought iBook, it's very difficult to find the substitute for it. Are there any free C compiler *like borland c/c++* for mac?

    I tried XTools 2.2, but it was too complicated for me...

    thx b4.
    I'm not trying to be sarcastic or mean, but if you can figure out how to program in C, you can figure out how to do it using gcc/Xcode.

  5. #5
    NiceKidDoRoxx
    Guest
    second try... yup! i've read some o the manual too. love it!

    /*it's my very first year in college, and i use borland c about 2/3 month, just started to learn c... so i'm still a total n00b :dummy: hehehe.... */

    a question :

    ~ so i can't use conio.h and dos.h ,since it's a dos-related (?) i still need it... any substition?



    thx everyone!

  6. #6
    lil
    Guest
    Well it seems peculiar you have been taught the non-ANSI standard C which can do all the file IO and so forth.

    here is an example to get you going:

    /* example.c */

    #include <stdio.h>

    main()
    {
    int x, y;
    x=5;
    y=10;
    printf("Hello World. x = %d and y = %d\n", x, y);
    }

    /* end */

    stdio.h is the standard file IO include.

    Do a google search and you should find many tutorials.

    Vicky

  7. #7
    NiceKidDoRoxx
    Guest
    getting' used to it...! thx everyone...! ^__^"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Programming C++ on Mac...?
    By Mike120 in forum Switcher Hangout
    Replies: 11
    Last Post: 06-15-2009, 05:44 PM
  2. Mac Programming
    By frewegooh in forum Switcher Hangout
    Replies: 20
    Last Post: 05-01-2007, 02:32 PM
  3. Programming on Mac
    By Chris3d in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 03-27-2007, 07:21 AM
  4. C++ programming on a Mac
    By DrQuincy in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 01-26-2007, 12:17 PM
  5. programming in mac
    By Skarss in forum Web Design and Hosting
    Replies: 1
    Last Post: 06-16-2005, 12:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •