摘要: 也许此时的你正在迷茫,或是彷徨,又是一个人生的十字路口。工作还是考研?是接收offer还是自己创业,是继续寻找设计工作,还是放弃设计行业。 毕业至今也有些时日,回望过去从校园人变身到职场人。这里提一些粗浅的意见,希望可以帮到正在迷茫的童鞋。 一、选择 根据自身优势,理性选择 最近有些学弟学妹在问,是 阅读全文
posted @ 2016-03-10 13:09 爱读书de小学生 阅读(147) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;//函数指针类型void myfunc(int a,int b){ cout<<a<<b<<endl;}void myfunc(char* a){ cout<<*a<<endl;}//函数类型//typedef void (myp... 阅读全文
posted @ 2015-11-07 18:26 爱读书de小学生 阅读(219) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;class Point { public: Point(double xx, double yy) { x=xx; y=yy; } friend double Distance(Point &a, Point &b);... 阅读全文
posted @ 2015-11-07 18:22 爱读书de小学生 阅读(193) 评论(0) 推荐(0) 编辑
摘要: //#include using namespace std;class complex{public: complex() { real=imag=0; } complex(double r, double i) { real = r, imag = i; }... 阅读全文
posted @ 2015-11-07 17:26 爱读书de小学生 阅读(243) 评论(0) 推荐(0) 编辑
摘要: /*#include #include using namespace std;class ListTest{public:protected:private:};void main(){ list seq(8,9); list ::const_iterator i=seq.begin(... 阅读全文
posted @ 2015-11-06 21:43 爱读书de小学生 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Java中String类型的字符串String str="hello world";那么hello world中空格是占据一个存储单元,并且是按照字符数组的形式写的,例如:char mychar=str.char(5);mychar就是'w',java中截取字符串 阅读全文
posted @ 2015-10-31 21:18 爱读书de小学生 阅读(295) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;template //这个地方不能使用大括号T max1(T a ,T b){ //函数名的声明不能与类库里面的函数声明相同 coutvoid func1(T1 para1)//错误,没有使用T2{ // 函数体 } ... 阅读全文
posted @ 2015-10-31 16:39 爱读书de小学生 阅读(229) 评论(0) 推荐(0) 编辑
摘要: /*简单工厂设计模式*/#include using namespace std;class Fruit{ /************************************************************************/ /* 创建一个抽象水果类 ... 阅读全文
posted @ 2015-10-30 15:37 爱读书de小学生 阅读(426) 评论(0) 推荐(0) 编辑
摘要: /> />这样的两种按钮,显然textview自定义的要更好些 这是一个自定义的属性,但是好像padding并没有使用到,那么padding在哪个地方用到了在一个item钟用到 阅读全文
posted @ 2015-10-26 20:55 爱读书de小学生 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 using namespace std; 4 class Box 5 { 6 public: 7 void setWidth(double width){ 8 this->width=width; 9 }10 ... 阅读全文
posted @ 2015-10-24 19:30 爱读书de小学生 阅读(1035) 评论(0) 推荐(0) 编辑