- 博客(12)
- 收藏
- 关注
原创 课程设计
#include #include #include using namespace std; void fun1() { cout<<endl; cout<<"=========学校运动会管理系统===="<<endl; cout<<"=====学生报名=====请输入:1====="<<endl; cout<<"=====成绩登记=====请输入:2====="<<endl; c
2014-06-21 22:18:00 698 1
原创 第五周作业
1 # include using namespace std; int main() { int a[10]; int i; for(i=0;i<10;i++) a[i]=i*2+2; for(i=0;i<10;i++) { cout<<a[i]<<'\t'; if((i+1)%5==0) cout<<endl; }
2014-06-03 10:49:45 499 1
原创 第四周作业
求自然对数 # include using namespace std; int main() { int i=0; double value=1,fac=1; while (fac>10e-6) { i++; fac=fac/i; value+=fac; } cout<<"e= "<<value<<endl; return 0; }
2014-05-07 22:07:42 481 1
原创 第三周作业
作业1# include using namespace std; int main() { cout<<"number of bytes in int is: "<<sizeof(int)<<endl; cout<<"number of bytes in int is: "<<sizeof(long)<<endl; cout<<"number of bytes in in
2014-03-21 11:43:22 494 4
原创 思考题
答思考题 程序:程序是指用程序设计语言描述的,适合计算机执行的指令序列。 工程:就是为达成一个目标或完成一项任务而建立的文件集合,其中包含所有为完成此任务而建立的所有文件。 源文件:是未经编译的,按照一定的程序设计语言规范书写的人类可读的文本文件。(C++中.cpp文件) 目标文件:指存放源文件经编译器处理后产生的代码的文件(即.obj文件)。 执行文件:可由操作系统直接执行的文
2014-03-14 11:39:05 464 1
原创 作业1
#include using namespace std; int main() { cout<<"班级:自动1124班"<<endl; cout<<"姓名:杨思桐"<<endl; cout<<"学号:201211632421"<<endl; return 0; }
2014-03-14 11:25:18 397 1
原创 新作业1
#include using namespace std; int main() { cout<<"班级:自动1124班"<<endl; cout<<"姓名:杨思桐"<<endl; cout<<"学号:201211632421"<<endl; return 0; }
2014-03-14 11:21:16 437 1
原创 作业1
#include using namespace std; int main() { cout<<"班级:自动1124班"<<endl; cout<<"姓名:杨思桐"<<endl; cout<<"学号:201211632421"<<endl; return 0; }
2014-03-14 11:20:06 443 1
原创 作业1
#include using namespace std; int main() { cout<<"班级:自动1124班"<<endl; cout<<"姓名:杨思桐"<<endl; cout<<"学号:201211632421"<<endl; return 0; }
2014-03-14 11:17:36 482 1
原创 作业2
/******************************** **** 课本1.2 ******* **功能:求两个数的最大值**** ******************************/ #include using namespace std; int max(int x, int y) { int t; if(x>y) t=x
2014-03-14 11:15:56 544 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人