PDA

View Full Version : Stupid errors!



Govtcheez
02-07-2002, 08:11 AM
GAH! I should have my programmer's license taken away (or something)...

Here's the error that's been stumping me for hours...

char RAbuf[1024] = {0};
int RASize = sizeof(RABuf);

Anyone guess what error I got?

I know I'm not the only stupid one here - what're some of your stupid errors....

Fordy
02-07-2002, 08:40 AM
*Cough*
Capitalisation
*Cough*

Govtcheez
02-07-2002, 08:42 AM
Where were you last night, Fordy? I got so caught up in trying to figure what I did algorithmically wrong that I missed my stupid little capitalization error. It compiles w/o complaint, now...

Fordy
02-07-2002, 08:43 AM
>>Where were you last night, Fordy?

None of your damn business!!!!!

:p

QuestionC
02-07-2002, 08:11 PM
int main ()
{
// some code...
if (choice != 0);
{
// Lots of code
}
return 0;
}

golfinguy4
02-07-2002, 10:34 PM
class a
{int abc;
float bca;
};

/*I usually forget the semi colon after class declarations but I don't have to worry about it if I go into C# :) */

Fordy
02-08-2002, 04:04 AM
Originally posted by QuestionC

int main ()
{
// some code...
if (choice != 0);
{
// Lots of code
}
return 0;
}

Gah...semicolon after if().....I always do that!

Cheeze-It
02-08-2002, 11:33 PM
e/*****************************
*Comment Box. Notice the 'e'. *
*It took me forever to notice *
*it. I don't even know how it *
*got there. Screwed up every- *
*thing... *
******************************/
#include <iostream.h>
...



The compiler kept saying that there was an
error in streambuf.h (whatever that is)...
I was soooo annoyed.

shtarker
02-08-2002, 11:48 PM
Does not even knowing how to spell your own name count as a stupid error?
I even manage to mispell if. . .