简体   繁体   中英

vs2015 and vc++ external dependencies error on build

i am learning vc++ and i make my first application win32 console and just write simple code and i get 20 error from external files automatic included

i change compile as to c++ and not using precompiled headers but stil have errors

here is my code

#include <iostream>

int main()
{
    //cout << "hello !" << endl;
    return 0;
}

how can i fix it ?

我的错误

Edit :

i have win7 and vs2015 perhaps helps

Edit 2:

last picture is for an empty project this one is for a win32 console app

第二张图片

I think you have created a project set to use precompiled header. Can you start with an empty project and add source file?

And don't forget to set "Not using precomplied header" in file option

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM