自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 班级信息管理系统

#include "stdafx.h"#include#include #include#includeusing namespace std;struct student{ char num[10]; char name[10]; float modian; float shudian; float vc; float english; float mao

2014-06-21 21:53:41 2611 2

原创 第七周作业

例5.1#include "stdafx.h"#includeusing namespace std;void display(){ cout<<"This is an example."<<endl;}int main(){ display(); return 0;}例5.2

2014-04-18 10:59:22 412 1

原创 第六周作业

1例4.2#includeusing namespace std;int main(){ int i,math[40],n; float aver=0.0; int unpassedcount=0; int highscorecount=0; cout<<"请输入学生人数:"; cin>>n; cout<<"请输入成绩:"; for(i=0;

2014-04-14 21:39:26 498 1

原创 第四周作业

作业一1#include "stdafx.h"#includeusing namespace std;int main(){ long double e=1.0,f=1; for(int i=1;1/f>=1e-6;i++) {f*=i; e+=1.0/f; } cout<<"e的近似值为:"<<e<<endl; return 0;}2#inc

2014-03-30 17:01:48 533 3

原创 第三周作业

例2.1#include "stdafx.h"#include#includeusing namespace std;int main(){ bool flag = true; cout<<flag<<endl; cout<<boolalpha<<flag<<endl; cout<<flag + 6<<endl; flag = 0; co

2014-03-24 13:25:24 457 2

原创 第二周作业

作业1.编写调式运行第一个C++程序,要求输出你的班级、姓名和学号;2.输入课本例题1.2,调试运行程序,并分析程序。3.分析程序中哪些是标识符,哪些是关键字。4.回答什么是程序、工程,源文件、目标文件、执行文件、编译预处理、名字空间、函数.、主函数。程序1#include "stdafx.h" #include using nam

2014-03-15 19:10:12 438 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除