C Programming Tutorial 2 (Part 1) Learn C Programming: Game Programming

Loading...

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

Uploaded by on May 10, 2009

http://www.learntoprogram.tv
Follow me on Google+: http://www.MarkLassoff.com
Follow me on Twitter: @mlassoff

This is part I of a two part video.

The C Programming language is a great place to start for anyone who would like to learn computer programming. C is relatively easy to learn but can be very powerful While its a much older language and not object oriented, it can be used to develop almost any type of application-- including video games. The C programming language has been used in colleges and universities for years and continues to be used all over the world.

To do this tutorial yourself you'll need to download a C compiler and editor. LearnToProgram.TV recommends Dev C++ by Bloodshed.

This second C Programming Tutorial Video will show you how to use variables. Variables will be declared and initialized and then output using the Printf command. Variable types and Printf Signifiers will be used as well.

Mark Lassoff, of LearnToProgram.TV hosts the program. Lassoff is a professional programming trainer and has been in the field for ten years. For more information and videos, please visit www.LearnToProgram.TV.

  • likes, 7 dislikes

Link to this comment:

Share to:

Uploader Comments (LearnToProgramDotTV)

  • getchar();

    Doesn't work for me, i dont know why it doesnt ... help please

  • @lewisself What environment are you using to create and compile your C?

  • could someone explain to me how variables would be used in a game?

    i know they are, i just cant think of how

  • @lolJonezy Best example I can think of (and there are thousands of ways variables can be used in a game) is to store the score...

  • how come u didnt put space between = and age, u put space between = and salary?

  • @theco22wen I was inconsistent. The spaces shouldn't matter... So feel free to add a space or NOT add a space. It should work either way!

Video Responses

see all

All Comments (135)

Sign In or Sign Up now to post a comment!
  • I am extremely zoomed in, and my screen went black... completely unrelated but did my drivers just crash?

  • Why did you put "int" front of main void?

  • "If you're gonna lie - lie big":-D

  • i like your style of teaching a lot.

  • @XxRohShamBohXx it doesnt matter

  • hey, for 4:00, why did u put a space for salary and the battingAverage, but not for the age..like this " age=35; salary = 500000; battingAverage = .312;  " does it matter if u do or not? and if it does, how would u know

  • @LearnToProgramDotTV It doesnt matter anymore, ive got it working still good totortials, shame you havnt done more on C

  • alot of perspective gained from this

    "thank you";

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