
C++课程
myth1991x
Wait a strong dream!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
2015C++第一周,任务六:输出1!+2!+...+n!
任务六:输出1!+2!+...+n!1-52#include "stdafx.h"#include #include#includeusing namespacestd;int main(){ double sum = 0, fac = 1; int n; cout"请输入要求阶的最高数n(偶数):" << endl;原创 2015-01-17 22:28:57 · 453 阅读 · 0 评论 -
2016_ubuntu+windows硬盘安装教程
Ubuntu+ windows双系统easybcd安装教程(最新)2016-5-21 主要解决有些无法安装的问题1.在安装了windows的系统下用easybcd安装配置1)留出空闲的磁盘: 可以用DiskGenius,选择windows已经分区的磁盘,删除分区,然后可以看到这部分空间变成空闲的了,至于要多大空间,看你自己觉得了,建议30G以上。图1 diskgeniu原创 2016-05-21 13:14:13 · 526 阅读 · 0 评论 -
2015年C++第三周,任务二:输入几个学生的成绩,用空格隔开,利用容器vector输出成绩,并显示各个等级的数量。
任务二:输入几个学生的成绩,用空格隔开,利用容器vector输出成绩,并显示各个等级的数量。2-14#include "stdafx.h"#include #include #include #include #include #include using namespacestd;int main(){ //cou原创 2015-01-21 20:32:31 · 1817 阅读 · 0 评论 -
2015C++第二周,任务七:以不同的形式输出日期,月份以英文显示,涉及类,构造函数等等,并限定月份只有12个月,日期与实际情况相同,如果输入错误则显示为0.
任务七:以不同的形式输出日期,月份以英文显示,涉及类,构造函数等等,并限定月份只有12个月,日期与实际情况相同,如果输入错误则显示为0.2-3#include "stdafx.h"#include #include#includeusing namespacestd;class time{ intx; inty; intz;原创 2015-01-17 22:36:04 · 637 阅读 · 0 评论 -
2015C++第一周,任务一:求两个数的平方根
任务一求两个数的平方根1-25#include "stdafx.h"#include #includeusing namespacestd;class complex{private: double real; double imag;public: complex(double r,double i) {原创 2015-01-17 22:24:36 · 1278 阅读 · 0 评论 -
2015C++第二周,任务二:输出9*9乘法表
任务二:输出9*9乘法表1-56#include "stdafx.h"#include #include#includeusing namespacestd;int main(){ inti = 0, j = 0, plus=0; for(i = 1; i { for(j = 1; j {原创 2015-01-17 22:33:41 · 467 阅读 · 0 评论 -
2015年C++第三周,任务一:打印个人信息,学生,老师,在职教师
任务一:打印个人信息,学生,老师,在职教师2-11#include "stdafx.h"#include#includeusing namespacestd;class person{public: person(char*n,char*s,inty,intm) { name =newchar[strlen(n)+ 1]原创 2015-01-19 19:39:52 · 547 阅读 · 0 评论 -
2015C++第二周,任务九:定义一个person类,派生student类,在派生teacher类,并派生当老师的学生。
任务九:定义一个person类,派生student类,在派生teacher类,并派生当老师的学生。#include "stdafx.h"#include #include#includeusing namespacestd;class person{public: person(char*n,char*s,inta) {原创 2015-01-17 22:37:44 · 10053 阅读 · 0 评论 -
2015C++第二周,任务三:输出带字母的图形,A,AB,ABC,ABCD,ABCDE
任务三:输出带字母的图形,A,AB,ABC,ABCD,ABCDE1-57#include "stdafx.h"#include #include#includeusing namespacestd;int main(){ inti = 0,j=0,n=0; cout"请输入要输出的行数n:" cin>> n; cou原创 2015-01-17 22:34:54 · 10022 阅读 · 0 评论 -
2015C++第一周,任务七:输出年月的月份天数
任务七:输出年月的月份天数1-51#include "stdafx.h"#include #include#includeusing namespacestd;int main(){ int year, month, days, leap; cout "请输入年月:" cin>> year >> month; sw原创 2015-01-17 22:30:34 · 697 阅读 · 0 评论 -
2015C++第二周,任务一:输入100-999之间的水仙花数,153=13+53+33。
任务一:输入100-999之间的水仙花数,153=13+53+33。1-55#include"stdafx.h"#include#include#includeusingnamespacestd;int main(){ ints=0, i=0, j=0, k=0,m=0; for(s = 100; s {原创 2015-01-17 22:31:42 · 1164 阅读 · 0 评论 -
2016 linux install flash player 教程
http://wenku.baidu.com/view/3975841bb14e852459fb5772转载 2016-05-21 16:14:28 · 524 阅读 · 0 评论