会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
晚晴小筑
Talk is cheap. Show me the code.
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
25
26
27
28
29
30
31
32
33
···
95
下一页
2016年3月12日
fgets汉字问题
摘要: #include#include #define N 10int main(int argc, char *argv[]){ FILE *fp; char str[N]; fp = fopen("in.txt", "r"); if (fp == NULL) { return 1; } whil...
阅读全文
posted @ 2016-03-12 22:07 N3verL4nd
阅读(228)
评论(0)
推荐(0)
2016年3月4日
sizeof('a')
摘要: #include using namespace std;int main(void){ cout << sizeof('a') << endl; return 0;} MINGW ,.cpp结果为:1 .c结果为4 VS2013 .c结果为:4 .cpp结果为1 原因: C99标准的规定,'a...
阅读全文
posted @ 2016-03-04 18:52 N3verL4nd
阅读(244)
评论(0)
推荐(0)
2016年3月2日
获取文件中汉字个数
摘要: MINGW + notepad++ strlen遇到汉字的问题: #include #include using namespace std;int main(){ cout #include #include int main(int argc, char *argv[]){ int ...
阅读全文
posted @ 2016-03-02 18:10 N3verL4nd
阅读(193)
评论(0)
推荐(0)
2016年2月24日
第一章 引言
摘要: 目的:准备复试,同时也为了重温C语言。 1.1入门 /*第一个C语言程序*/#include //包含标准库的信息int main() //定义为main的函数,此处不接受参数值(也可以接受参数值int argc,char *argv[]){ //main函数的...
阅读全文
posted @ 2016-02-24 09:59 N3verL4nd
阅读(140)
评论(0)
推荐(0)
2016年2月7日
深入理解windows 消息机制
摘要: 深入理解Windows消息机制 今天我们来学一学Windows消息机制,我们知道在传统的C语音程序中,当我们需要打开一个文件时,我们可以调用fopen()函数,这个函数最后又会调用操作系统提供的函数以此来打开文件。而在Windows编程中,不仅用户可以调用系统的API函数,反之...
阅读全文
posted @ 2016-02-07 11:35 N3verL4nd
阅读(344)
评论(0)
推荐(0)
Windows消息机制概述
摘要: 消息是指什么? 消息系统对于一个win32程序来说十分重要,它是一个程序运行的动力源泉。一个消息,是系统定义的一个32位的值,他唯一的定义了一个事件,向 Windows发出一个通知,告诉应用程序某个事情发生了。例如,单击鼠标、改变窗口尺寸、按下键盘上的一个键都会使Windows发送一个...
阅读全文
posted @ 2016-02-07 11:33 N3verL4nd
阅读(206)
评论(0)
推荐(0)
2016年2月3日
cmder显示UTF-8字体
摘要: WIN+ALT+P打开配置 搜索chcp chcp 65001 重新打开cmder test:
阅读全文
posted @ 2016-02-03 09:21 N3verL4nd
阅读(720)
评论(0)
推荐(0)
2016年1月26日
模拟迅雷登陆
摘要: http://www.oschina.net/question/204035_228006 登陆js脚本在:http://i.xunlei.com/login/1.0.4.min.js 登陆主要处理为 function o(F,J,y) ,密码是md5 + base64 加密 关键代码:...
阅读全文
posted @ 2016-01-26 11:23 N3verL4nd
阅读(438)
评论(0)
推荐(0)
LUAMD5加密
摘要: md5里的方法: C:\Windows\System32>luaLua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio> require("md5");> for k,v in pairs(md5) do print(k,v); endcrypt...
阅读全文
posted @ 2016-01-26 09:34 N3verL4nd
阅读(1780)
评论(0)
推荐(0)
2016年1月22日
LUA提取免费迅雷账号
摘要: --获取http://www.521xunlei.com/ 免费迅雷账号function getPageid() local http = require("socket.http") local url = "http://521xunlei.com/forum.php?mod=forumdi...
阅读全文
posted @ 2016-01-22 10:22 N3verL4nd
阅读(323)
评论(0)
推荐(0)
上一页
1
···
25
26
27
28
29
30
31
32
33
···
95
下一页
公告