Yaser Eisa
Yaser Eisa

Reputation: 17

dev c++ doesnt highlight syntax mistakes and errors

I'm pretty new to coding and just moved to dev c++ and it never notifies me when I write something wrong or if it doesnt make sense. When I was using visual c++ the second I wrote something wrong or if a library was missing it would highlight it and if I hovered over it it would give me an error message....is there anyway to get that with dev c++?

Thanks in advance

Upvotes: 0

Views: 1727

Answers (1)

Jeff S
Jeff S

Reputation: 250

According to this pdf http://www.apeg.ac.me/nastava/Introduction%20to%20DevC-%20IDE.pdf

The editor highlights with different colors keywords and other elements of the C language. The classic scheme uses:

  1. Light blue for comments
  2. Green for included libraries
  3. Red for text strings
  4. Bold black for C keywords

As long as you are using the classic scheme then your errors should be obvious if they do not show up with the expected syntax color. You can check in Tools > Editor options > Syntax > Color Speed Settings > Classic

I would also expect you are able to tweak these how ever you want in the Tools > Editor options > Syntax area. I am not sure what version you are using as you did not state it.

Upvotes: 1

Related Questions