1) cin>>(name1||numble); 这样的写法是非法的 cin没办法自动鉴别输入的数据并把它存到相应的变量中 C++目前无法做到这样的智能操作 常规的做法是先输入查询类型 再进行对应输入 2) 输出成绩的代码中都多了一个分号 比如 cout<<"成绩分布:"<<"c++:"<cpp<<" "<<"高数:"<shu<<" "<<"大...
有一个地方少了一个花括号(问题补充的第一行
这类错误无非是丢括号丢分号之类的问题,不要光看问题本身,检查一下你的}是不是丢了。不知道是你考错了还是本来就错了,看到你在del_person函数最后一句return(0);前似乎就忘了个"}"。闪...
https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB ...
A function definition specifies the name of the function, the types and number of parameters it expects to receive, and its return type. A function definition also includes a function body with the declarations of its local variables, and the statements that determine what the function does....
void firwin(n,fn,wn,h) n,fn,wn,h都要加上数据类型,比如int,float什么的,具体看你程序数据类型
intfunc1(a,b)inta,b;{returna+b;} 简单地说就是把参数的类型放在后面写。具体的历史可以参考:老...
CAD安装海龙工具错..看图,CAD版本,2010 64位海龙版本,最新免费版系统版本 win10 64位1,海龙工具可以安装在64位CAD上面,我昨天还能用海龙,今天上班就发现海龙无法安装,2,海龙支持CAD2004-2
When I tried to compile a C++ files in Visual Studio 2005, I got this error: C3861: 'snprintf': identifier not found. I suspect some standard C lib are missing but not sure what they are. Can someone please give a pointer? thanks a lot for your help....
function-definition declaration function-definition? declaration-specifiersoptattribute-seqoptdeclaratordeclaration-listoptcompound-statement /*attribute-seq为 Microsoft 专用 */ 原型参数为: declaration-specifiers? storage-class-specifierdeclaration-specifiersopt ...