2013年3月18日
摘要: 决定从今天开始,以博客形式不定期的记录我成为程序员的道路。今天写了超级多的程序,时间不够就只把我在c++课上写的代码贴上来,做一下记录吧。#include<iostream>#include<cstring>using namespace std;class Student{private: char *name;//看到指针就要初始化,给它分配空间!!! char sex; double score;public: void print();//输出姓名、性别、成绩 Student();//无参 Student(char *n,char s,d... 阅读全文
posted @ 2013-03-18 22:02 Phoenix_ 阅读(132) 评论(0) 推荐(0)