'Better' probably isn't the best way to put it but they can certainly be tremendously useful in the right situation. Sometimes an array is all you need especially when the amount of objects/variables within it is not going to change.dream_coder wrote:I just been reading about vectors. They seem better than arrays.
Search found 708 matches
- Sun Apr 18, 2010 2:53 pm
- Forum: Programming Discussion
- Topic: Simple C++ Question...
- Replies: 12
- Views: 789
Re: Simple C++ Question...
- Sun Apr 18, 2010 9:34 am
- Forum: Programming Discussion
- Topic: Simple C++ Question...
- Replies: 12
- Views: 789
Re: Simple C++ Question...
AD, I think you might be better off instantiating the array of Armor objects somewhere in your main.cpp file and just pass a reference to the array into any of the armor functions that require its information. That way you can access the array in other sections of the game loop easily.
- Wed Apr 14, 2010 8:28 am
- Forum: General/Off-Topic
- Topic: Oh baby...
- Replies: 9
- Views: 1082
Re: Oh baby...
I had to download so much porn to make up for the bandwidth consumption that I generally use on this site.
- Tue Apr 13, 2010 2:57 pm
- Forum: General/Off-Topic
- Topic: Revenge
- Replies: 14
- Views: 1197
Re: Revenge
Good shit man
- Tue Apr 13, 2010 2:47 pm
- Forum: Programming Discussion
- Topic: [SOLVED] Question about functions
- Replies: 3
- Views: 389
Re: Question about functions
I'm not 100% sure about what you are looking to accomplish but for this example that you listed... drawButton(screen, image, 10, 10, events, rotateMap(90)); That would be passing the return value of the rotatemap() function as an argument to the drawButton() function. So if rotatemap(90) returns a b...
- Tue Apr 13, 2010 9:04 am
- Forum: General/Off-Topic
- Topic: Conan O'brien's Return
- Replies: 4
- Views: 697
Re: Conan O'brien's Return
Definitely. I met him once as well. Went to see Late Night in New York when he was still doing it there. SUCH a great time. And damn that boy is tall!Arce wrote:I met him once. He's real tall...=p
- Mon Apr 12, 2010 1:06 pm
- Forum: General Gaming
- Topic: Poke'mon the next generation
- Replies: 11
- Views: 2440
Re: Poke'mon the next generation
Marx Chaotix wrote: lol, doesn't it also sorta seem like they're running out of ideas for the names of their versions to revert so suddenly from gemstones to bland colors like white and black? I dunno lol
Pokemon Gray & Pokemon Off-white
- Mon Apr 12, 2010 12:31 pm
- Forum: General Gaming
- Topic: Poke'mon the next generation
- Replies: 11
- Views: 2440
Re: Poke'mon the next generation
In all seriousness though, Nintendo really needs to get on releasing a Pokemon for the Wii. Boost up the battle animations, make the environments a bit more lush, and BAM! You got yourself a sure-hit right there.
- Mon Apr 12, 2010 12:15 pm
- Forum: General Gaming
- Topic: Poke'mon the next generation
- Replies: 11
- Views: 2440
Re: Poke'mon the next generation
MOAR POKEMANZ NAO!!!!11one
- Mon Apr 12, 2010 11:58 am
- Forum: General/Off-Topic
- Topic: Conan O'brien's Return
- Replies: 4
- Views: 697
Conan O'brien's Return
CNN confirms it...
http://marquee.blogs.cnn.com/2010/04/12 ... ng-to-tbs/
Conan will be returning to TV in November for a late-night spot on TBS. I hope this makes at least one person on this board happy aside from myself.
http://marquee.blogs.cnn.com/2010/04/12 ... ng-to-tbs/
Conan will be returning to TV in November for a late-night spot on TBS. I hope this makes at least one person on this board happy aside from myself.
- Fri Apr 09, 2010 9:13 am
- Forum: General Gaming
- Topic: Favourite RTS and why?
- Replies: 28
- Views: 6729
Re: Favourite RTS and why?
It's a tossup between Warcraft 2 and Rise of Nations
- Wed Apr 07, 2010 9:22 pm
- Forum: General Gaming
- Topic: Your personal top 10 fav. games of all time
- Replies: 14
- Views: 2636
Re: Your personal top 10 fav. games of all time
Ugh, an impossible question. ... Here goes anyways... Final Fantasy VII Final Fantasy VI Chrono Trigger Megaman 2 Castlevania: Symphony of the night Xenogears Street Fighter 2: Turbo Pokemon Red The Legend of Zelda: A link to the past The Legend of Zelda: Ocarina of Time List subject to change drast...
- Mon Apr 05, 2010 11:50 am
- Forum: General/Off-Topic
- Topic: Just got my iPad
- Replies: 33
- Views: 3236
Re: Just got my iPad
Out of pure curiosity, what does your boss expect you to do with the iPad? Are you guys developing games for the touch screen?
- Thu Apr 01, 2010 7:42 pm
- Forum: General/Off-Topic
- Topic: GameCrush
- Replies: 9
- Views: 1341
- Thu Apr 01, 2010 1:56 pm
- Forum: General/Off-Topic
- Topic: Shigeru Miyamoto died today at 57 years old :(
- Replies: 11
- Views: 1288
Shigeru Miyamoto died today at 57 years old :(
APRIL FOOLS
If you checked this thread, you just lost the game
![Image](http://i12.tinypic.com/6k5wohv.jpg)
If you checked this thread, you just lost the game
![Image](http://i12.tinypic.com/6k5wohv.jpg)