摘要:
今天在写程序时遇到的一个问题 #include <stdio.h> #include <string> using std::string; int main() { char str[STEL]; while (scanf("%s", str) && strcmp(str, "end")) { printf("%s = %u\n", str, hash(str)); } return 0; }写完用g++编译,出现error: ‘strcmp’ was not declared in this 阅读全文
posted @ 2012-04-11 16:25
aho
阅读(21753)
评论(0)
推荐(0)

浙公网安备 33010602011771号