01.
请c++高手指教一个程序#include <iostream> using namespace std; void Accept(char *,int *,float &); void Display(char *,int,float); //char改为char * int main() { char cName; int iAge; float fSalary; Accept(cName,&iA...查看完整版>>
请c++高手指教一个程序
02.
编了个C++程序,不能使,请高手指教.#include <iostream> int main() { using namespace std; cout<<"Enter number of rows: "; int n,i,j; char xing; //二维数组 cin>>n; for (i=0;i<n;i++) { for (j=0;j<=n-i-2;j++) //2个F...查看完整版>>
编了个C++程序,不能使,请高手指教.
03.
C++问题,请众高手 指教哈问题在这里:ts=((endtime.s-starttime.s>=0) ? (endtime.s-starttime.s) : (endtime.m-1 , endtime.s+60-starttime.s)); tm=((endtime.m-starttime.m>=0) ? (endtime.m-starttime.m) : (endtime.h-1 , endtim...查看完整版>>
C++问题,请众高手 指教哈
04.
ASP程序报错,不知原因,请高手指教!!!我看了后,我觉得应该是你再用SQL语句的时候用的游标参数不对,你吧:rst.open "select * from user where u_user='"&request.form("f_user")&"'",conn,1,1 改成:rst.open "select * from user where u_user='"&reque...查看完整版>>
ASP程序报错,不知原因,请高手指教!!!
05.
C++高手帮我编一个程序#include <iostream>using namespace std;class shape{public: virtual double GetArea() = 0; virtual double GetPerim() = 0; };class Circle : public shape{public: Circle(double rr) : r(rr){} double G...查看完整版>>
C++高手帮我编一个程序
06.
这个C++程序为什么不能编绎????注释//使用为\\switch()语句case中为a下面是编译成功的程序,请比较#include<iostream.h>#include<time.h>#include<stdlib.h>#define pointp (*(*(p+a)+b))//#define pointk (*(*(k+a)+b))const i...查看完整版>>
这个C++程序为什么不能编绎????
07.
这个C++程序为什么不能编绎?????请比较#include<iostream.h>#include<time.h>#include<stdlib.h>#define pointp (*(*(p+a)+b))//#define pointk (*(*(k+a)+b))const int shu=6;const int heng=24;class feng{int (*p); //(*k);pu...查看完整版>>
这个C++程序为什么不能编绎?????
08.
这个C++程序为什么不能编绎??????//这样就可以了,主要是一些语法问题和没有main函数的问题#include<iostream.h> #include<time.h> #include<stdlib.h> #define pointp (*(*(p+a)+b)) #define pointk (*(*(k+a)+b)) const int s...查看完整版>>
这个C++程序为什么不能编绎??????
09.
这个C++程序为什么不能编绎?我没有试验,但是仅根据这段程序来看,楼主只是定义了一个feng的class,编译可以通过,但是因为没有main函数,所以链接时会出现找不到应用程序入口的错误。(也就是说错误提示应该是LNK……)上面的答复中添加了int ...查看完整版>>
这个C++程序为什么不能编绎?
10.
求C++高手解答一个程序问题一:#include <iostream>#include <string>using namespace std;void main(void){ string st ; cout<<"Input st:"; getline(cin,st); cout<<st<<endl;}上面这段代码,...查看完整版>>
求C++高手解答一个程序
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。