C++ Simple vector tutorial
Uploader Comments (CPLRaZer)
All Comments (15)
-
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
-
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
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
icilianfenner 2 years ago
Thanks (:
I'll be more focused on the next tutorial (:
CPLRaZer 2 years ago
INT - i - GRRS
srjcstud 2 years ago
hmm? xD
CPLRaZer 2 years ago