PDA

View Full Version : Most common errors



Barjor
08-31-2001, 01:01 PM
What is the most common error when writing C++? Speaking for myself it is a close call between missing a ';' and capitalize one letter to much ..like..MyINteger. Thankfully they are both very easy to find and corrct.
~Barjor

Fordy
08-31-2001, 01:03 PM
Sigh, I do it all the time - compile a proggie that should be a console as a win32 app (or the other way around)

Also missing libs are a pain

And screwing up the chicken lips

no-one
08-31-2001, 01:11 PM
over acessing an array or forgeting to allocate memory for it hence over accessing in a slightly different form.

Govtcheez
08-31-2001, 04:30 PM
My biggest problem on my program at work is when I have a stroke of genius and figure out how to solve a problem, only to be interuppted mid-line by a phone call or smth. I went through my code the other day and found tons of lines that were halfway complete - I had at least 3 or 4 that were just
PrintString(dest,

(before someone asks me, because I know it's coming - the compiler I'm doing this on only supports output by character - that's why I had to write my own function for it)