07 2015 档案

摘要:问题2. 什么时候执行构造函数和析构函数 22:59:402015-07-22做了一个实验:#include class Object{public: Object(){ printf("Create Object\n"); }; ~Object(){ ... 阅读全文
posted @ 2015-07-22 23:04 hopskin1 阅读(148) 评论(0) 推荐(0)
摘要:# coding=GBKscore = 90if score >= 80: print("好")elif score >= 60: print("及格")else: print("差")win7 64位PC,用#coding=utf-8还是乱码 阅读全文
posted @ 2015-07-22 18:39 hopskin1 阅读(112) 评论(0) 推荐(0)
摘要:1. post-increment and pre-increment 的区别来源:http://www.c4learn.com/c-programming/c-increment-operator/#includevoid main(){int a,b,x=10,y=10;a = x++;b = ... 阅读全文
posted @ 2015-07-19 15:19 hopskin1 阅读(533) 评论(0) 推荐(0)