我刚刚开始学C++,照着书本上的例子来抄,但还是有错,上网查了下,没有什么收获.希望各位帮帮忙~~~尤其是assert这个词,
网上说是JAVA的关键词,但是我却在C++的程序上看到~~~~晕了.附件是我抄的代码,比较长~~~~不好意思了.
D:\阿树文档\C++\字符\说明.cpp(45) : error C2065: 'assert' : undeclared identifier
D:\阿树文档\C++\字符\说明.cpp(190) : error C2556: 'class string __thiscall string::operator ()(unsigned int,unsigned int)' : overloaded function differs only by return type from 'class substring __thiscall string::operator ()(unsigned int,unsigned i
nt)'
D:\阿树文档\C++\字符\说明.cpp(25) : see declaration of '()'
D:\阿树文档\C++\字符\说明.cpp(190) : error C2371: '()' : redefinition; different basic types
D:\阿树文档\C++\字符\说明.cpp(25) : see declaration of '()'
D:\阿树文档\C++\字符\说明.cpp(190) : error C2027: use of undefined type 'substring'
D:\阿树文档\C++\字符\说明.cpp(20) : see declaration of 'substring'
D:\阿树文档\C++\字符\说明.cpp(195) : warning C4018: '>' : signed/unsigned mismatch
[求助]这些错误是什么意思?