Straight from the help:
Type: Posts; User: fuh
Straight from the help:
You could try asking for the numbers.
Umm...
Just call rand() every time you need a random number...
Also, a common problem is not seeding the generator.
How about this thing on game programming?
Stand in front of the computer and ask for the password everytime someone tries to open RealPlayer. :p
On a more serious note, I agree with Salem. Just move realplayer to some hidden directory in...
Put using namespace std in hashtable.h
98 is the best in my opinion. I'm typing on XP right now and it freezes about once a day. In fact, this is my second time typing this because it just froze and I had to turn it off and on and check...
Semicolon after the call to powers().
Edit: Ha! I beat Sean this time :D
I used 95 until a couple of years ago... It was ugly.
int powers(int x; unsigned int y) {
if(y==0) {
cout<<"1";//any base to the power of 0 is 1
return 1; }
else {
powers(x*x(y-1)); }
}
Your old version was only...
if(input == 7) {
return 0;
}
I think people are forgetting about return these days...
Seems simple enough for me, and that's saying a lot :D
Um... return 0;?
I'd think that'd be the right answer.
Actually, you wouldn't. You'd just have to do something where you generate a random filename and store the part of the filename before the .jpg or .bmp or .whatever and store that in an array of...
If you have the .devpak file you can open PackMan.exe in the Dev-Dpp directory and click install, find the file, and hit open.
It depends on what you're looking to do. There are several libraries out there that you could use for most things, but it's all in what your goal is.
If you want to get to graphics and other...
Paul is better than pop/rock singers in my opinion. I'm weird; I like country :o .
That was sad. Noooo!!!
Ha ha! Branch tripped :D !
Oh! Eagles about to score (again)!
Is RoD here? I guess he's too busy watching the game and the commercials to post.
EDIT: Score!! Yeah!
Ha ha Pats :p
I have to agree with you.
I'm suprised that there isn't a Super Bowl thread already, but there isn't, so I'm starting one. Eagles are about to score. Yeah!
Go Eagles!
If you're capable of programming one, then yes.
Going along with CornedBee:
What if the people who made Halo used DevC++ because they didn't want to pay for a compiler? Would that mean Halo is...
Oops! Problem solved. I just pulled the code up right on the spot.
Can't wait! This decides what distribution I'm going to get. The polls have already closed, and I can't wait until I get to see the results.
EDIT: Hey! I just realized I have to be a member to...
Are player and computer global variables?