Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

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

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 cozzie   Members   

4971
Like
0Likes
Like

Posted 31 March 2013 - 07:18 AM

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, 31 March 2013 - 07:18 AM.

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me


#2 cozzie   Members   

4971
Like
0Likes
Like

Posted 31 March 2013 - 11:16 AM

Got it, did a reset on (import/export) IDE settings and now it works everywhere in the code.

Not clear how the problem got there though.


Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.