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

C++ Classes: Data, Methods, and Constructors (Video 1)

Loading...

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

Uploaded by on Nov 24, 2010

This will teach you through a robot class how to use classes, methods, public and private, to create a robot class. When it is created, it is assigned to permanent variables (yes, will teach you how to use permanent) to create an accessible ID, and an inaccessible password, both read only. You can then assign attributes using the password, and read them without it. By the time you are finished, you will be a class master!

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • The only thing was yo usaid normally you cant compare to two strings, but i copied the exact code you had and it wouldn't work. and after much examination, it was the IF(password = password). I couldnt compare the two without getting a huge error unlike you. not sure why. it was exactly what you had here. But this helped me on another lab that had to do with using a class to create a bank account. Thank you.

  • Love this video!

  • Pretty good!!!!

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