How to modify preprocessor definition in Visual Studio 2017?
            Asked
            
        
        
            Active
            
        
            Viewed 9,036 times
        
    3
            
            
        - 
                    3There is no such thing as "the preprocessor definition" - please make your question much clearer. Also, you are not going to learn C++ from online tutorials - get a good textbook. – Aug 13 '18 at 20:49
- 
                    1@NeilButterworth There is something called preprocessor definitions in VS apparently. – eesiraed Aug 13 '18 at 20:59
- 
                    Are you asking about #defines available to the preprocessor? – Captain Giraffe Aug 13 '18 at 21:00
- 
                    Don't learn C++ from online tutorials. Most, if not all, are very bad and teach a lot of bad things. Instead, get a [good book](https://stackoverflow.com/q/388242/9254539). – eesiraed Aug 13 '18 at 21:01
- 
                    2@NeilButterworth There is literally a "Preprocessor definitions" property. – user7860670 Aug 13 '18 at 21:04
- 
                    @VTT Yes, I know, but there is no single "the preprocessor definition" – Aug 13 '18 at 21:09
1 Answers
9
            In Visual Studio, the Preprocessor Definitions can be modified on a per-project basis by right-clicking on the project within the Solution Explorer, then selecting Properties. Then, expand the "C/C++" selection in the tree, and you will see Preprocessor as a category.
 
    
    
        solarisin
        
- 124
- 4
 
    