C Programming on the Mac L3 - Basics & printf

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,651
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 13, 2010

In this tutorial I cover the basic structure of a program as well as the printf function

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (AppleProgramming)

  • Ah, just what i am looking for. I am learning "C" on windows.

    For graphic programming i will use the WinAPI.

    What could i use on the Mac?

    Especially, since xcode4,  cocoa & other stuff is being discontinued.

    Thanks...vmars316

  • @vmars316 No idea what you mean by Xcode 4 and Cocoa being discontinued, if anything it's the very opposite.

  • How can i detect an enter? lets say

    printf Name or enter to skip = /*(presses enter)*/;

    scanf %s name/* (name is a string)*/;

    if (name == enter) {}

  • @zungaloca you can use fgets to see if the return key is all that was pressed. Just watch the fgets tutorial and you should get it from there.

  • I'm really glad you were born.

  • @Soccy Me too :)

see all

All Comments (44)

Sign In or Sign Up now to post a comment!
  • @AppleProgramming Thank you for ur reply

  • someone know if codeblocks works on a mac?

  • someone know if codeblocks works on a mac?

  • Thank you for these.

  • @Soccy HAHA. Yeah me to!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more