Question:
Looking for good C syntax checker software?
2012-02-01 09:51:23 UTC
Looking for the best software that can check C syntax. And in details explain to me the mistake i made in it...I am working with code:blocks now , and its explanations just suck....
I guess that software need to be be specifically designed for this purpose.
(I am talking about syntax mistakes,not logical ones)
thanks.
Four answers:
peteams
2012-02-01 10:43:25 UTC
The errors spat back by C (and C++) compilers are awful. This is because C is an ancient language and actually a blend of several languages; you have your local OS's file names appearing in #include lines, the macro preprocessor's # lines, the macro processor twiddling with the code you write and the C language itself.



Unfortunately you're not going to get much better errors from any software. I've been impressed by some error messages that Microsoft's compiler generates; there is a common error where you miss a ; at the end of a header file, this shows as a mysterious error in the next header file, the resulting error includes "did you forget a ;" in its text.



Part of the skill of programming is understanding the error messages. Indeed most of the skills are to do with identifying and fixing problems, however teaching often concentrates on getting things right and doing things right.



The only way of escaping C's error messages are to look at other languages. The error messages generated by more modern and cleaner languages like Java and C# are generally more helpful.
huggard
2016-10-29 06:42:12 UTC
C Syntax Checker
jepsen
2017-01-12 09:39:13 UTC
I majored in lit in college. i might say for this poem, you desire some history on the poet. It starts out kinda unhappy, with the view. 'Futures i've got divorced' maximum like refers to abandoned hopes and objectives. The 'do no longer look back' and knife reference is in all probability approximately getting over painful concepts. That it no longer cuts implies wish. Or in all probability numbness. The stuff on complacency in all probability ability he feels he permit somebody down by employing no longer doing something he might desire to have accomplished. for this reason the accusatory voices. The final paragraph is a little greater complicated. My experience is that the narrator discovered his existence training and acted subsequently, for this reason the vast reward. This guy appears like a soldier to me. one that believes that no longer taking action at some mandatory 2nd led to others harm. Now he's became that concepts-set around, and located some peace. He gave up previous and futile tries and took a various way of residing, and he's beginning to discover his existence greater priceless. i do no longer oftentimes like poems, yet my mothers and fathers spents thousands that they did no longer have so i might desire to be taught to interpret then. i'm greater approximately novels, however. returned, you may in all probability income from understanding something of this author's existence. This one is tremendously own, previous the final experience of the sweetness and cruelty of the worldwide I often see in lesser poems.
just "JR"
2012-02-01 10:11:18 UTC
Just use a compiler!

If there are syntax errors, it WON'T compile!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...