风歌的blog

已搬家到 blog.imxjf.top
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2005年7月25日

摘要: 原地址:http://www.yesky.com/20030117/1649013.shtml 文件操作是应用程序最为基本的功能之一,Win32 API和MFC均提供有支持文件处理的函数和类,常用的有Win32 API的CreateFile()、WriteFile()、ReadFile()和MFC提供的CFile类等。一般来说,以上这些函数可以满足大多数场合的要求,但是对于某些特殊应用领域所... 阅读全文

posted @ 2005-07-25 16:56 风歌 阅读(268) 评论(0) 推荐(0) 编辑

摘要: main(_){_++<10 && main(_,printf("%*s\n",_<7?_+3:15-_,"*********"+(_<7? 12-2*_ : 2*_-12)) ) ;} 阅读全文

posted @ 2005-07-25 14:47 风歌 阅读(250) 评论(0) 推荐(0) 编辑

摘要: #include#include #include #include #include void signal_handler(int); int main(){ signal(SIGINT,signal_handler); srand(time(0)); for(int i=1;i>res; while(res!=1 && res!=2) { cout>res; } if(res==... 阅读全文

posted @ 2005-07-25 11:44 风歌 阅读(294) 评论(0) 推荐(0) 编辑