上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 那是在很久很久以前了, 那时候才刚刚学习Win32 SDK编程,恰恰又学了Sqlite3数据库的使用,所以就写了这么一个程序, 没什么特殊的功能, 就是把NES文件保存到数据库中, 支持搜索, 要查找哪个游戏, 输入游戏的部分名字即可, 方便快速打开. 软件仍然用C语言+Win32SDK编写, 开源, 都说了, 写很久了, 功能够用,没更新. 代码有点乱, 呵呵!软件截图:删除:删除选中的游戏修改:修改游戏的名字添加:添加新的游戏到数据库中批量添加:指定要添加FC/NES Rom的目录另存为...:保存选定的游戏到指定目录保存全部:保存当前列表的所有游戏到指定目录字体:(未实现)双击一个... 阅读全文
posted @ 2013-05-29 03:52 女孩不哭 阅读(2289) 评论(0) 推荐(0) 编辑
摘要: Huge Fibonacci Numbers时间限制: 1 Sec 内存限制: 128 MB题目描述A Fibonacci sequence is calculated by adding the previous two membersof the sequence, with the first two members being both 1. f(1) = 1, f(2) = 1, f(n > 2) = f(n - 1) + f(n - 2)Your task is to take a number as input, and print that Fibonacci numbe 阅读全文
posted @ 2013-05-27 01:41 女孩不哭 阅读(2485) 评论(0) 推荐(0) 编辑
摘要: Substitution CypherTime Limit: 1.0 Seconds Memory Limit: 65536K Multiple test files Substitution cyphers are the simplest of cyphers where the letters of one alphabet are substituted for the letters of another alphabet. In one form or another, they've been in use for over 2000 years. Input A lin 阅读全文
posted @ 2013-05-27 00:49 女孩不哭 阅读(1751) 评论(0) 推荐(0) 编辑
摘要: 一直都是用系统的控件, 还从不知道一个控件该怎么去写~~~ 网上的教程太少了, 完全不知道怎么开头~~ 也一直用 RegisterClassEx + CreateWindowEx 创建一个主程序窗口, 却从不知道控件也是通过这种方式来写的.看来我们无时无刻不在自己写控件啊~~~ 第1次写控件, 介绍一下我写的这个简单功能控件的创建过程: 1. 为控件写一个窗口类,指定默认窗口函数,并注册窗口类 2. 调用 CreateWindowEx 创建该子控件即可, 和创建主窗口完全一样 重点: 指定的窗口过程必须要为自己的子控件做好相应的消息处理:比如:鼠标消息, WM... 阅读全文
posted @ 2013-05-16 02:49 女孩不哭 阅读(1160) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>typedef int (*pfun)(int a,int b);int f(int a,int b){ return printf("%d\n",a+b);}int main(void){ pfun pfun = f; pfun(1,2); return 0;} 上面C语言片段中: pfun pfun = f; pfun(1,2); 有问题么? 为什么?女孩不哭 @ 2013-05-11 20:58:06 @ http://www.cnblogs.com/nbsofer 阅读全文
posted @ 2013-05-11 20:58 女孩不哭 阅读(465) 评论(5) 推荐(0) 编辑
摘要: #include <stdio.h>#include <string.h>int a;int a;char str[16];char str[16];int main(void){ strcpy(str,"女孩不哭!"); puts(str); return 0;}上面的代码有错误吗, 为什么?女孩不哭 @ 2013-05-11 20:50:24 @ http://www.cnblogs.com/nbsofer 阅读全文
posted @ 2013-05-11 20:51 女孩不哭 阅读(498) 评论(3) 推荐(0) 编辑
摘要: 题目描述 Given a string containing only "A"-"Z", we could encode it using the following method:We use 3 characters to represent a sub-string if there are some consecutive repeating characters in one line, which "0" is as the mark, and then the repeat number , and the charac 阅读全文
posted @ 2013-05-08 22:25 女孩不哭 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 用英语表达: 1).A是B的N倍长/宽/高/大/重等 2).A比B长/宽/高/大/重等N倍 3).A的长度/宽度/高度/大小/重量等是B的N倍可用下列几种句型:1.A + be + 倍数 + as + 计量形容词原级 + as + B This tree is three times as tall as that one. 这棵树是那棵树的三倍高. His father is twice as old as he. 他父亲的年纪有他两倍大.2.A + be + 倍数 + 计量形容词比较级 + than + B The Yangtze River is almost twice longe.. 阅读全文
posted @ 2013-04-22 01:48 女孩不哭 阅读(1165) 评论(0) 推荐(0) 编辑
摘要: 新视野大学英语4听说教程答案Unit 1Unit 2Unit 3Unit 4Unit 5Unit 6Unit 7Unit 8Unit 9Unit 10Unit OneWarming UpF T NGListeningUnderstanding Short Conversations1~5 A C B... 阅读全文
posted @ 2013-04-22 01:07 女孩不哭 阅读(28711) 评论(0) 推荐(0) 编辑
摘要: 由于屏幕的多种类性, 我始终没有使用市面上的那种取模软件, 我始终感觉数据可能不对.因为我的屏幕的要求比例是R:G:B(5:6:5),16位色,一个像素2个字节保存,所以总觉得应该自己写一个来做这种转换工作的软件. 今天写了个小程序,在彩屏上显示出来的效果很好. 程序是为我的屏幕的数据类型量身生成的 阅读全文
posted @ 2013-04-21 00:05 女孩不哭 阅读(4963) 评论(1) 推荐(2) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页