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

C++ Basic Skills: Lesson 23 "Const-ness" (part 1 of 2)

Loading...

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

Uploaded by on Sep 1, 2009

In this lesson we talk about the "const" qualifier which lets you tell the compiler to safeguard some data for you.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • i'm not sure if this is explained in another tutorial, but i had to go to IRC to ask why we don't dereference the &a...apparently the compiler dereferences the reference automatically, so we don't have to cout <<*a<<endl;. you actually get an error when trying that.

  • 2 the viewers: you ought to see C++ Basic Skills: Lesson 23 "Const-ness" (part 2 of 2)

  • can I ask which compiler do you use ?? ! ..

    and really you are a nice programmer and ur future is bright :D ... hope to answer me :)

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