Getting Error while compiling

Here is the code and the error that I recieved

Looks like you didn’t create an empty project.

[quote]Select your project, use the “Project -> Properties” menu and go to the “Configuration Properties -> C/C++ -> Precompiled Headers” section, then change the “Precompiled Header” setting to “Not Using Precompiled Headers” option.
[/quote] And then you are free to delete the extra files in your solution that aren’t main.cpp

@Stefan_Spasevski Did that solve your problem?

Privacy & Terms