会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
l_u_l_u
首页
联系
订阅
管理
上一页
1
2
3
下一页
2012年10月22日
判断大小端
摘要: int main(){ int i = 0x04030201; char *p = (char *)&i; if(*p == 1) printf("littel\n"); else if(*p == 4) ...
阅读全文
posted @ 2012-10-22 17:50 l_u_l_u
阅读(165)
评论(0)
推荐(0)
2012年10月16日
用linux装逼->在windows装linux的逼(windows_dev=gvim+mingw+msys+mintty)
摘要: windows装linux_dev=gvim+mingw+msys+mintty去mingw官网下载mingw安装 http://mingw.org/ 安装时要加上msys选项和develop kit tools在我的电脑属性->高级->环境变量include 增加D:\MinGW\includel...
阅读全文
posted @ 2012-10-16 15:50 l_u_l_u
阅读(383)
评论(0)
推荐(0)
2012年10月15日
双向循环链表-栈-队列 (list大杂烩~会模版就好咯)
摘要: #include using namespace std;//#define DEBUG 1#ifdef DEBUG#include int III = 0, iii;#define FUN_IN for(iii = 0; iii (list &mylist) {if(lenght() > my...
阅读全文
posted @ 2012-10-15 18:00 l_u_l_u
阅读(234)
评论(0)
推荐(1)
2012年9月28日
gethostbyname, gethostbyaddr(原来百度叫shifen "十分?")
摘要: 还以为程序错了,ping百度也是 www.a.shifen.com #include #include #include #include #include in...
阅读全文
posted @ 2012-09-28 17:23 l_u_l_u
阅读(249)
评论(0)
推荐(0)
2012年9月26日
用linux装逼->我的vim配置(不定时更新)
摘要: 把装逼进行到底!提高生活质量,多用键盘,不买鼠标!我的vimrc插件大致如下:c/c++查找ctags(一般自带) +cscope函数提示echofunc窗口taglist + WinManager + quickfix(一般自带) + nerdtree + MiniBufExplorer智能补全s...
阅读全文
posted @ 2012-09-26 12:29 l_u_l_u
阅读(332)
评论(0)
推荐(0)
2012年9月25日
用linux装逼->w3m
摘要: 把装逼进行到底!提高生活质量,多用键盘,不买鼠标!/usr/share/w3m/w3mhelp.htmlPage/Cursor motionSPC,C-vForward pageb,ESC vBackward pagel,C-fCursor righth,C-bCursor leftj,C-nCur...
阅读全文
posted @ 2012-09-25 12:04 l_u_l_u
阅读(333)
评论(0)
推荐(0)
2012年9月21日
用linux装逼->mpg321
摘要: 把装逼进行到底!提高生活质量,多用键盘,不买鼠标!同时开了七个mpg321放不同的歌叫起床,声音好混乱啊~find > list.txt A: mpg321 -@list.txt -zZv -l 0 C^c = next ...
阅读全文
posted @ 2012-09-21 18:18 l_u_l_u
阅读(577)
评论(0)
推荐(0)
2012年9月5日
调用信号处理程序被捕捉的信号自动地加到进程的当前信号屏蔽字中signal() sigpending()
摘要: //当调用一个信号处理程序时,被捕捉的信号自动地加到进程的当前信号屏蔽字中,阻止后来产生的这种信号中断改信号处理程序。//当从信号处理程序返回时,自动恢复原来的屏蔽字#include ...
阅读全文
posted @ 2012-09-05 16:15 l_u_l_u
阅读(309)
评论(0)
推荐(0)
2012年5月1日
以前学C的记录
摘要: 2010.1.x 1 printf() '-'是左对齐;小数点‘.’也占一位 eg: %8.3f 整数占4位,小数点1位,小数3位,整数不够位补空格,超过照样输出,小数不够补O,超过位四舍五入.%08.3f 和 %08d,整数不够位补0 2 scanf不能格式化输入,只能用一个 整数 指定...
阅读全文
posted @ 2012-05-01 17:45 l_u_l_u
阅读(303)
评论(0)
推荐(0)
2012年4月29日
windows垃圾清理源代码 C/C++
摘要: //cleanDos2011.5.31.3.cpp//win32控制台程序,界面做不出来//没有严格测试过 #include #include #include DWORD Total = 0; //文件和目录数量DWORD dwFile = 0; //文件数量DWORD dwFo...
阅读全文
posted @ 2012-04-29 01:48 l_u_l_u
阅读(711)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告