根本没有成功编译,所以没有输出exe,所以没有找到文件。建议你用新建项目,c++,win32,win32项目类型,得到的模板来编写程序。
缺了头文件:#includeusing namespace std;