0

I notice that functions like printf() and toupper() appear in blue without the relevant #include statements in files with names ending in .c. What is happening under the hood to make this happen?

0

The IDE has been programmed to know all the common libraries used (stdio, stdlib,etc.) and to highlight the function names in all the common libraries, just like it knows all c keywords.

Think about it. How useful would the IDE be if it didn't know about things like printf? The devs knew what was needed. ;-)

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

You must log in to answer this question.

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