编译提示:【cstdio(25) : error C2143: syntax error : missing '{' before ':'】,检查一下使用了标准库的源文件的类型是*.c还是*.cpp,一律为*.cpp。