标签: c++ sfml
我启动sfml但无法成功教程 因为..
它说
The variable "namespace" is not a type name. 4723 error code
我该怎么办?
答案 0 :(得分:2)
您正在尝试将C ++代码编译为C代码。因为namespace是C ++概念,所以会出现错误。
namespace
将文件重命名为test.cpp。
test.cpp