Please give me more clarification about errors occuring in c?

Recommended Answers

All 3 Replies

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).

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.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.