Hi I have an error with c++ in code::blocks. every time I try to compile my code I get these errors in the cwchar file (Which is a program file or something so I don't want to edit it and mess it up)
嗨,我在code :: blocks中遇到了c ++错误。每次我尝试编译我的代码时,我都会在cwchar文件中得到这些错误(这是一个程序文件或其他东西,所以我不想编辑它并弄乱它)
::wcscat has not been declared
::wcscmp has not been declared:: wcscat尚未声明:: wcscmp尚未声明
And other "::" lines have the same error. I can't find where the error occurred in my code and I have a lot of code so I can't copy&paste it.
而其他“::”行有相同的错误。我无法找到我的代码中发生错误的位置,并且我有很多代码,所以我无法复制和粘贴它。
1 个解决方案
#1
0
Any ::
refers to a global function. Those declarations are typically coming from includes.
Any ::指的是全局函数。这些声明通常来自包含。
If you Google the name of your function it will tell you which include you need to use.
如果您使用Google的功能名称,它会告诉您需要使用哪些内容。
#1
0
Any ::
refers to a global function. Those declarations are typically coming from includes.
Any ::指的是全局函数。这些声明通常来自包含。
If you Google the name of your function it will tell you which include you need to use.
如果您使用Google的功能名称,它会告诉您需要使用哪些内容。