Sign in to follow this  
cozzie

Visual c++, auto code check, when (not?)

Recommended Posts

Hi,

Probably a easy question, but I notice the following:

 

- in visual studio my code/ per line is checked and a red 'wave' shows up when there's an error in the code

(sort of auto correct)

- this works great, but

 

- in my main cpp file, for lines within my WINAPI WinMain function, the function doesn't do anything.

Strangely if I ad invalid code just above the WinMain function, the 'auto check' function works fine.

 

Does someone know on which selection/ theory this function is activated or not?

I'd really like to use if everywhere in my project.

Edited by cozzie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this