Help me add code in XCODE

This is a discussion on Help me add code in XCODE within the C++ Programming forums, part of the General Programming Boards category; Hey, I have a macbook and have xcode. I've been reading the start of C tutorial and I'd like to ...

  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    3

    Help me add code in XCODE

    Hey,

    I have a macbook and have xcode.
    I've been reading the start of C tutorial and I'd like to have a working program and source file to look at and pay attention too, and go over alot.

    I'm trying to download
    TC.zip
    A simplified version of asteroids.
    URL: http://www.cprogramming.com/source/TC.zip

    Im not sure how to load this up into XCODE, i have done 1 page simple bits of code, but I'm not sure when it involves many pieces.

    I'd be really grateful to anyone that could help me.


    P.

  2. #2
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,425
    Is...TC.zip....the turboC........*shudders*...*eye twitches*...compiler.... I think it is...?? Dont do it man! You have your whole programming life ahead of you- there lots of good up to date programming tools you can get for free - code blocks, pelles c, are only two of them, i have not a scooby doo if xcode provides a compiler or what, just get hold of one of the free C supporting compilers above and practice some programming
    Last edited by rogster001; 07-20-2012 at 02:45 PM.
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    1,203
    That source can only run on Windows (and probably not a newer version of windows anyway).

    Anyway reading code isn't a good way to learn to program. Programming is pretty much the only way to learn (that is, you must write code yourself). Instead of reading code why not spend that time writing code instead?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple code compiles in windows, does not in xCode.
    By RyanW2050 in forum C Programming
    Replies: 3
    Last Post: 01-26-2012, 01:49 PM
  2. exc_bad_access error when compiling c code in xcode
    By new_cuser in forum C Programming
    Replies: 6
    Last Post: 07-27-2011, 03:43 PM
  3. Replies: 2
    Last Post: 07-13-2011, 06:50 AM
  4. C Code in Xcode
    By rmcinnes in forum C Programming
    Replies: 2
    Last Post: 04-11-2011, 07:27 AM
  5. Replies: 6
    Last Post: 03-09-2011, 05:38 AM

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