会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
爱读书de小学生
博客园
首页
新随笔
联系
订阅
管理
2016年3月10日
迷茫时代
摘要: 也许此时的你正在迷茫,或是彷徨,又是一个人生的十字路口。工作还是考研?是接收offer还是自己创业,是继续寻找设计工作,还是放弃设计行业。 毕业至今也有些时日,回望过去从校园人变身到职场人。这里提一些粗浅的意见,希望可以帮到正在迷茫的童鞋。 一、选择 根据自身优势,理性选择 最近有些学弟学妹在问,是
阅读全文
posted @ 2016-03-10 13:09 爱读书de小学生
阅读(160)
评论(0)
推荐(0)
2015年11月7日
c++函数指针
摘要: #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小学生
阅读(225)
评论(0)
推荐(0)
c++友元函数和友元类
摘要: #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小学生
阅读(197)
评论(0)
推荐(0)
c++重载运算符
摘要: //#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小学生
阅读(253)
评论(0)
推荐(0)
2015年11月6日
c++中stl函数的使用
摘要: /*#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小学生
阅读(222)
评论(0)
推荐(0)
2015年10月31日
java 中String类的常见方法和StringBuffer类的使用
摘要: Java中String类型的字符串String str="hello world";那么hello world中空格是占据一个存储单元,并且是按照字符数组的形式写的,例如:char mychar=str.char(5);mychar就是'w',java中截取字符串
阅读全文
posted @ 2015-10-31 21:18 爱读书de小学生
阅读(304)
评论(0)
推荐(0)
c++模板类和模板函数
摘要: #include using namespace std;template //这个地方不能使用大括号T max1(T a ,T b){ //函数名的声明不能与类库里面的函数声明相同 coutvoid func1(T1 para1)//错误,没有使用T2{ // 函数体 } ...
阅读全文
posted @ 2015-10-31 16:39 爱读书de小学生
阅读(234)
评论(0)
推荐(0)
2015年10月30日
c++简单工厂类的设计模式
摘要: /*简单工厂设计模式*/#include using namespace std;class Fruit{ /************************************************************************/ /* 创建一个抽象水果类 ...
阅读全文
posted @ 2015-10-30 15:37 爱读书de小学生
阅读(436)
评论(0)
推荐(0)
2015年10月26日
Android自定义的button按钮
摘要: /> />这样的两种按钮,显然textview自定义的要更好些 这是一个自定义的属性,但是好像padding并没有使用到,那么padding在哪个地方用到了在一个item钟用到
阅读全文
posted @ 2015-10-26 20:55 爱读书de小学生
阅读(308)
评论(0)
推荐(0)
2015年10月24日
c++基类与派生类之间的转换
摘要: 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小学生
阅读(1045)
评论(0)
推荐(0)
下一页
公告