上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 95 下一页
摘要: #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 阅读(219) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 目的:准备复试,同时也为了重温C语言。 1.1入门 /*第一个C语言程序*/#include //包含标准库的信息int main() //定义为main的函数,此处不接受参数值(也可以接受参数值int argc,char *argv[]){ //main函数的... 阅读全文
posted @ 2016-02-24 09:59 N3verL4nd 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 深入理解Windows消息机制 今天我们来学一学Windows消息机制,我们知道在传统的C语音程序中,当我们需要打开一个文件时,我们可以调用fopen()函数,这个函数最后又会调用操作系统提供的函数以此来打开文件。而在Windows编程中,不仅用户可以调用系统的API函数,反之... 阅读全文
posted @ 2016-02-07 11:35 N3verL4nd 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 消息是指什么? 消息系统对于一个win32程序来说十分重要,它是一个程序运行的动力源泉。一个消息,是系统定义的一个32位的值,他唯一的定义了一个事件,向 Windows发出一个通知,告诉应用程序某个事情发生了。例如,单击鼠标、改变窗口尺寸、按下键盘上的一个键都会使Windows发送一个... 阅读全文
posted @ 2016-02-07 11:33 N3verL4nd 阅读(199) 评论(0) 推荐(0) 编辑
摘要: WIN+ALT+P打开配置 搜索chcp chcp 65001 重新打开cmder test: 阅读全文
posted @ 2016-02-03 09:21 N3verL4nd 阅读(713) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1744) 评论(0) 推荐(0) 编辑
摘要: --获取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 阅读(263) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 95 下一页