Thread: Most common errors

  1. #1
    Barjor
    Guest

    Most common errors

    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

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    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

  3. #3
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    over acessing an array or forgeting to allocate memory for it hence over accessing in a slightly different form.

  4. #4
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    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)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Common errors
    By C_ntua in forum C Programming
    Replies: 8
    Last Post: 10-31-2008, 11:19 AM
  2. global namespace errors
    By stubaan in forum C++ Programming
    Replies: 9
    Last Post: 04-02-2008, 03:11 PM
  3. Lowest Common Factor
    By PJYelton in forum C++ Programming
    Replies: 9
    Last Post: 12-23-2002, 09:30 AM
  4. executing errors
    By s0ul2squeeze in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2002, 01:43 PM