954,480 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Errors in c

Please give me more clarification about errors occuring in c?

SaiBalaji
Newbie Poster
9 posts since Sep 2010
Reputation Points: 6
Solved Threads: 0
 

They occur because you screwed up. Look at the error messge then the line that caused the error and try to figure out what caused that error message. Sometimes the real problem is on a previous line (or lack of one).

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

Basically, they're like shit - they happen. ;)

You can roughly divide them up as compiler errors, compiler warnings, linker errors, logic errors, and run time errors.

Each one you could write a good deal about. For more info, Google each of the above, and check out some C tutorials while you're at it.

Adak
Nearly a Posting Virtuoso
1,479 posts since Jun 2008
Reputation Points: 425
Solved Threads: 185
 

One of the new features of VC++ 2010 is that it parses the code as you type it, so if you do something wrong it will highlight the error right way for you. You don't even have to comile the code to see many errors.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: