how to specify what's considered an error, so that I can get squiggly lines

Viewed 27

I'm programming in C, and often times I see myself forgetting to type the '&' when using scanf. I've used replit in the past and there, in that case the variable gets a squiggly underline showing it's wrong. Is there any way I could configure this in VS Code, in other words, can I specify what's considered an error?

1 Answers

Add the C/C++ extension from Microsoft. It will add IntelliSense

Use this link to learn how to add extensions: LINK

Use this link to read about customizing IntelliSense for your needs: LINK (unless it already does what you need)

Related