Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Cpp Beginners Tutorial 7 (For Absolute Beginners)

Loading...

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

Uploaded by on Dec 3, 2011

www.onestopprogramming.com

Video Outline:
-Variable Types: char, float, double
-Basic Memory Intro and Other Variable types
-unsigned numeric variables
-short or long numeric variables
-Scope and Visibility & global variables

Challenge:
-Keep coding!

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (onestopprogramming)

  • Hopefully you are just busy And don't have time to make more videos yet. Because I don't want you to stop making these... They are super helpful and better then any others on YouTube. Never stop making these.. IWANTMORE!

  • @McNamarinara Yes. Very busy. Everytime I want to make an new tutorial something comes up. I'm crossing my fingers for this weekend.

  • So, lets say I have 5 different functions. Would it be better (RAM wise) to have a global "int num1 = 5;" Or have 5 local "int num1 = 5;" ?

  • @pong360ping Great question and the answer may surprise you. A global variable does not go away until the program exits because it is declared in the global scope so it exists everywhere and is always using RAM. Variables in functions however are only created when that function is called. When that function ends and reaches the return or } all the variables created in that function are destroyed.

  • also when if ever will u be covering random variables

  • @mrninja4273 I will be covering them soon.

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • I really hope you can make more soon. I've tried watching other tutorials and this one has been the most comprehensive so far.

  • I'm working my way through these lessons, and I hope you'll have more out soon, just because of how good you teach it : )

  • I love the fact that new coders aim high whilst still in early days. I remember when I had that kind of heady optimism. The main problem as a coder is the lack of graphic programmers. You need someone who is willing to produce some graphics (no small task!) for you to play with.

    You'll be on the right path if you do a simply Snakes game in your first 4 years (as in get the time to do it not the ability) and remember that games take a huge amount of time to develop.

    Source: C# dev, 5 years

  • Thank you so much for making these videos! I really look forward to the game tutorials, will the game have graphics or is it going to be a text based game?

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