C++ Simple vector tutorial

Loading...

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

Uploaded by on Apr 19, 2009

Just a simple Vector tutorial, where vector is inside a function.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 10 dislikes

Link to this comment:

Share to:

Uploader Comments (CPLRaZer)

  • Just a couple of points, that I didn't get out of this video that I would have found interesting/useful.

    You didn't say what vectors are used for. Right now you're making what looks like, to all intents and purposes, needlessly complex array.

    I don't think there are many people who know the ins and outs of vector syntax (ie, what its for and how to manipulate it - what you don't really go over) who don't know how to put a procedure into a function.

    ;) It's fine overall,mate, just my thoughts

  • Thanks (:

    I'll be more focused on the next tutorial (:

  • INT - i - GRRS

  • hmm? xD

see all

All Comments (15)

Sign In or Sign Up now to post a comment!
  • i can barely see what you are typing.. perhaps bigger font or zoom in text area

  • Esben?

  • Don't forget to return 0.

  • what is other program alternative to visual studio coz my visual studio is not compatilble to windows 7

  • @novaatje

    Victor can stor people inside of him :)

  • You keep talking about this Victor guy, who is it?

  • This snippet has an error and some bad practices.

    1.: Never use "using namespace xxx;" in global scope. Use it inside functions and methods.

    2.: Your functions strongly recommended to be verbs: ReadInteger() instead of integer().

    3.: You should clear junk code (line 20, 21)

    4.: You should return with an exact 0 instead of implicit 0 from main().

    Do not learn things twice! Learn it correctly for the first time!

    3 stars, because it still can be useful. See Scott Meyers: Effective C++.

  • This video is helping me study for my final because my professor sucks at explaining stuff.

    But I understand vectors now that you've done it! Thank you haha

  • You're welcome :D

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