g++ -Wall -c "加密.cpp" (在目录/home/kzk/编程/C中) 加密.cpp: In function ‘void jia_mi(char*)’: 加密.cpp:49: error: invalid conversion from ‘char*’ to ‘char’ 编译失败 加密.cpp: In function ‘void jie_mi(char*)’: 加密.cpp:62: error: invalid operands of types ‘char’ and ‘char*’ to binary ‘operator-’ 加密.cpp:62: error: in evaluation of ‘operator-=(char, char*)’ 加密.cpp: In function ‘void read()’: 加密.cpp:81: warning: format ‘%c’ expects type ‘char*’, but argument 2 has type ‘int’ 加密.cpp:86: error: invalid conversion from ‘char’ to ‘char*’ 加密.cpp:86: error: initializing argument 1 of ‘void jia_mi(char*)’ 加密.cpp:92: error: invalid conversion from ‘char’ to ‘char*’ 加密.cpp:92: error: initializing argument 1 of ‘void jie_mi(char*)’
源码:http://forum.ubuntu.org.cn/viewtopic.php?f=77&t=313241 [?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?] -------------- 下一部分 -------------- 一个HTML附件被移除... URL: <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110108/45d91936/attachment.html> -------------- 下一部分 -------------- A non-text attachment was scrubbed... Name: 323.png Type: image/png Size: 612 bytes Desc: 不可用 URL: <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110108/45d91936/attachment.png> -- ubuntu-zh mailing list ubuntu-zh@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh