Help with Vectors

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
hurstshifter
ES Beta Backer
ES Beta Backer
Posts: 713
Joined: Mon Jun 08, 2009 8:33 pm
Favorite Gaming Platforms: SNES
Programming Language of Choice: C/++
Location: Boston, MA
Contact:

Help with Vectors

Post by hurstshifter »

Can anyone point me to a good thread/tutorial on Vectors? I've realized that knowing more about them and how to properly utilize them in my programs will help out a lot, but as it stands I know very little. Thanks for any suggestions in advance.
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
User avatar
programmerinprogress
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Wed Oct 29, 2008 7:31 am
Current Project: some crazy stuff, i'll tell soon :-)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++!
Location: The UK
Contact:

Re: Help with Vectors

Post by programmerinprogress »

I was given this link on IRC about vector and matrix math, i'm slowly working my way through it, you might want to check it out!
http://chortle.ccsu.edu/VectorLessons/index.html

I find a lot of the time it makes absolutely no sense to begin with, but if you follow the questions along the top and bottom of the screen, and make sure you understand each section before you go on, then it starts to stick ;)

PS: i'm educated in maths up to GCSE intermediate level, so i'm pretty naive to this kind of stuff, just thought I would mention that so you can gauage how much you might struggle with the whole thing.
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D

I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
User avatar
hurstshifter
ES Beta Backer
ES Beta Backer
Posts: 713
Joined: Mon Jun 08, 2009 8:33 pm
Favorite Gaming Platforms: SNES
Programming Language of Choice: C/++
Location: Boston, MA
Contact:

Re: Help with Vectors

Post by hurstshifter »

programmerinprogress wrote:I was given this link on IRC about vector and matrix math, i'm slowly working my way through it, you might want to check it out!
http://chortle.ccsu.edu/VectorLessons/index.html

I find a lot of the time it makes absolutely no sense to begin with, but if you follow the questions along the top and bottom of the screen, and make sure you understand each section before you go on, then it starts to stick ;)

PS: i'm educated in maths up to GCSE intermediate level, so i'm pretty naive to this kind of stuff, just thought I would mention that so you can gauage how much you might struggle with the whole thing.

I'll check that out, thanks :)
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Help with Vectors

Post by dandymcgee »

Did you mean math vectors or the std::vector datatype?
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
programmerinprogress
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Wed Oct 29, 2008 7:31 am
Current Project: some crazy stuff, i'll tell soon :-)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++!
Location: The UK
Contact:

Re: Help with Vectors

Post by programmerinprogress »

haha, I think he did mean the STL vector, I just had maths on the mind on that day, if you did mean std::vector, then try cplusplus.com and search for vector ;)
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D

I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Help with Vectors

Post by MarauderIIC »

As for vectors, I would really just use the documentation. I had a mini-tut on them on the forums at one point... but it might have been in the guides & resources thread and has since possibly been edited out?
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
Post Reply