Search found 3948 matches
- February 10th, 2012, 3:26 pm
- Forum: Everything
- Topic: HELLO WORLD!
- Replies: 1
- Views: 2370
Re: HELLO WORLD!
Welcome aboard bro! If you have any questions, ask away.
- February 9th, 2012, 3:33 pm
- Forum: Everything
- Topic: C++ as a Game Language
- Replies: 10
- Views: 8390
Re: C++ as a Game Language
dy = 300;
gfx.PutPixel( dx ,425 + dy,255,255,255 );
300 + 425 = 725
This is past the bottom of the screen, so trying to put a pixel here will cause the program to crash.
gfx.PutPixel( dx ,425 + dy,255,255,255 );
300 + 425 = 725
This is past the bottom of the screen, so trying to put a pixel here will cause the program to crash.
- February 7th, 2012, 3:49 am
- Forum: Everything
- Topic: initializing varibles in game constructor
- Replies: 1
- Views: 2345
Re: initializing varibles in game constructor
If you declare and initialize it in ComposeFrame(), you are resetting its value every frame. If you declare it as a member of the Game object and initialize it in the constructor, it retains its value from frame to frame, since the contructor is only called once at the beginning of the program. Sinc...
- February 4th, 2012, 3:13 am
- Forum: Everything
- Topic: char array vs string array, why?
- Replies: 2
- Views: 2963
Re: char array vs string array, why?
Hmmm... a char array is a string. :? I think you have some confusion about the word "string". A string is just an array of characters. In C, a string is indicated by an array of characters wherein the final character is the 'null' character ('\0') which is used to indicate the end of the string. The...
- February 4th, 2012, 3:00 am
- Forum: Everything
- Topic: Forum is dying.
- Replies: 26
- Views: 12964
Re: Forum is dying.
You a Rammstein fan Natox?
- February 4th, 2012, 2:53 am
- Forum: Everything
- Topic: Forum is dying.
- Replies: 26
- Views: 12964
Re: Forum is dying.
U! S! A!
U! S! A!
U! S! A!
WOOOOOOO!
http://www.youtube.com/watch?v=HUl0GNY1 ... re=related
(BTW: I'm actually Canadian)
U! S! A!
U! S! A!
WOOOOOOO!
http://www.youtube.com/watch?v=HUl0GNY1 ... re=related
(BTW: I'm actually Canadian)
- February 2nd, 2012, 2:13 pm
- Forum: Everything
- Topic: Forum is dying.
- Replies: 26
- Views: 12964
Re: Forum is dying.
I'm tried to use a lot of visuals to illustrate the concept, so I hope it won't be too hard to grasp. Let me know how difficult/easy you found it after I upload.
- February 2nd, 2012, 2:06 pm
- Forum: Everything
- Topic: Random Name Generator (prefix + suffix)
- Replies: 7
- Views: 7976
Re: Random Name Generator (prefix + suffix)
make it fun Bro, this is C++ we're talkin' about here! How could it be anything but? :P Okay, so here's the mission. It's actually something that I plan on doing in a later lesson after I introduce arrays (shortly after we make the Tic Tac Toe game). You're gonna need the poo solution so I hope you...
- February 2nd, 2012, 4:16 am
- Forum: Everything
- Topic: Forum is dying.
- Replies: 26
- Views: 12964
Re: Forum is dying.
A new lesson is coming in a day or two. Actually, I had already recorded it once but I didn't like the way I presented the material so I deleted it and started over. :evil: I already recorded about 1.5 hours of footage last night, but there is still a little left to record. It's also going to need a...
- February 2nd, 2012, 4:08 am
- Forum: Everything
- Topic: Random Name Generator (prefix + suffix)
- Replies: 7
- Views: 7976
Re: Random Name Generator (prefix + suffix)
Seems like you've got the knack of generating random numbers down now.
You've got a good start on arrays there too. If you want, I could give you another challenge to hone your array skills with.
You've got a good start on arrays there too. If you want, I could give you another challenge to hone your array skills with.