记录详情

Compile Error

/in/foo.cc:21:10: error: extra qualification 'BinTree::' on member 'CreatebyPreMid' [-fpermissive]
   Node * BinTree::CreatebyPreMid(char pre[],int ipre, char mid[],int imid, int len)
          ^~~~~~~
/in/foo.cc: In constructor 'BinTree::BinTree(char*, char*)':
/in/foo.cc:17:38: error: 'strlen' was not declared in this scope
    int ipre=0, imid=0, len=strlen(pre);
                                      ^
/in/foo.cc: At global scope:
/in/foo.cc:48:22: error: '_TCHAR' has not been declared
 int _tmain(int argc, _TCHAR* argv[])
                      ^~~~~~
/in/foo.cc: In function 'int _tmain(int, int**)':
/in/foo.cc:55:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^

信息

递交者
类型
自测
语言
C++
递交时间
2019-04-06 11:15:09
评测时间
2019-04-06 11:15:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes