会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
better english, better life.
The life is no fair,get used to it.
博客园
首页
新随笔
联系
管理
文章分类 -
[c++]
c++200例子之094---结构应用
摘要:struct student { int num; char name[20]; float grade; };
阅读全文
posted @
2008-11-20 20:26
雨城
阅读(138)
评论(0)
推荐(0)
c++200例子之098---宏初步应用
摘要:#define YES 1 #define PI 3.1415926 #define RAD PI/180 #define MESG "This is a string."
阅读全文
posted @
2008-11-20 18:55
雨城
阅读(122)
评论(0)
推荐(0)
c++200例子之099---宏的应用
摘要:#define MAX(a,b) ((a)>(b) ? (a):(b))
阅读全文
posted @
2008-11-20 18:40
雨城
阅读(112)
评论(0)
推荐(0)
c++200例子之100---#ifndef应用
摘要:#define PI 3.1416 #if 1 cout"i="iendl; #endif
阅读全文
posted @
2008-11-20 17:34
雨城
阅读(324)
评论(0)
推荐(0)
公告