0

I am working on my mario problem. I write my code in C, but it's not getting highlighted, meaning the program doesn't understand it. How can I get it to understand my code? for example #include is in black, it doesn't become blue.

1

Just a guess, did you open a new file that has yet to be named or saved?

Assuming you're in the CS50 IDE, are you writing your code in a file with the .c extension? The IDE has to see that extension to determine the file type and how to highlight stuff. If you just opened a new file and didn't save it to a .c file, it thinks it's a plain text file.

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .