先检查你的程序是否包含头文件iostream.h
xx.cpp(39) : error C2079:xx.cpp(42) : error C2065: 'Init' : undeclared identifier
xx.cpp(46) : error C2065: 'choiceItem' : undeclared identifier
xx.cpp(49) : error C2065: 'Input_allInfo' : undeclared identifier
xx.cpp(50) : error C2065: 'putone' : undeclared identifier
xx.cpp(50) : error C2065: 'f' : undeclared identifier
xx.cpp(51) : error C2065: 'PrintInfo' : undeclared identifier
xx.cpp(52) : error C2065: 'modify' : undeclared identifier
xx.cpp(53) : error C2065: 'Search' : undeclared identifier
xx.cpp(54) : error C2065: 'Print_aInfo' : undeclared identifier
xx.cpp(55) : error C2065: 'cout' : undeclared identifier
xx.cpp(55) : error C2065: 'endl' : undeclared identifier
xx.cpp(57) : error C2065: 'sum' : undeclared identifier
这些都在提示你程序中的变量choiceItem,Input_allInfo,putone,f,PrintInfo ,modify,modify,Search,Print_aInfo,cout,endl ,sum没有定义!
xx.cpp(55) : error C2297: '<<' : illegal, right operand has type 'char [16]'
xx.cpp(68) : error C2297: '<<' : illegal, right operand has type 'char [25]
提示你操作符<<的右操作数不合法!貌似你想用cout一次输出一个数组,如果是的话这样的输出时错误的,数组元素要一个一个地输出。
最好贴上代码看看!