Tool for checking syntactic and semantic mistakes


 
Thread Tools Search this Thread
Top Forums Programming Tool for checking syntactic and semantic mistakes
# 1  
Old 01-31-2014
Tool for checking syntactic and semantic mistakes

Hello,

it is easy to make mistake in c code. What ide or tool are you using for checking syntactic and semantic mistakes?

Jarda
# 2  
Old 01-31-2014
Syntax errors? Netbeans or Eclipse should do that. Worst case the compiler will catch syntax errors.

Semantic errors? They don't exist. There's no automated tool that can divine what you meant when you wrote your code. And if you need automated help to catch semantic mistakes, you're going to have a tough time making a living writing not just C code but any code.
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Programming

Need hep with my semantic error

while(EOF != (c = fgetc(filePtr))) { if ((c == ' ') || (c == '\n') || (c == '\0')) { if (c == '\0') { continue; } printf("%s",cc); printf("%c\n"); memset(cc, 0, sizeof cc); } else { cc=c; i++; } (5 Replies)
Discussion started by: fwrlfo
5 Replies

2. UNIX for Advanced & Expert Users

Regular expression for finding OCR mistakes.

I have a large file of plain text, created using some OCR software. Some words have inevitably been got wrong. I've been trying to create grep or sed, etc., regular expressions to find them - but haven't quite managed to get it right. Here's what I'm trying to achieve: Output all lines which... (2 Replies)
Discussion started by: gencon
2 Replies

3. UNIX for Dummies Questions & Answers

syntax and semantic check

Does the shell perform a syntax and semantic check before commands are sent to the kernel? Ravioli (3 Replies)
Discussion started by: ravioli
3 Replies
Login or Register to Ask a Question