我该如何修复这个 sfml 头文件命名空间错误?
how can i fix this sfml header file namespace error?
我启动了 sfml 但无法成功教程
因为..
它说
The variable "namespace" is not a type name.
4723 error code
我该怎么办?
您正在尝试将 C++ 代码编译为 C 代码。你得到一个错误,因为 namespace
是一个 C++ 概念。
将您的文件重命名为 test.cpp
。
我启动了 sfml 但无法成功教程 因为..
它说
The variable "namespace" is not a type name.
4723 error code
我该怎么办?
您正在尝试将 C++ 代码编译为 C 代码。你得到一个错误,因为 namespace
是一个 C++ 概念。
将您的文件重命名为 test.cpp
。