随笔分类 -  我的项目

我做过的项目,总结在这里
摘要:2015年4月1日更新:我在github开源了Objective-C版的拼音搜索项目,感兴趣的可以去看看:OC版拼音搜索最近项目需要实现按照拼音搜索资源。在网上找了一下,这方面的东西太少了。Java有一个开源的实现,但是没耐心看下去,毕竟对Java不是特别熟练。C++方面大多都是按照字符的编码去获取... 阅读全文
posted @ 2013-09-06 18:36 唐小喵 阅读(4771) 评论(6) 推荐(1) 编辑
摘要:今天在工作中遇到一个问题,一个动态菜单,每个菜单的菜单项ID是我自己定义的,定义如下:#define IDM_SEARCHRECORD0 222240#define IDM_SEARCHRECORD1 222241#define IDM_SEARCHRECORD2 222242#define IDM_SEARCHRECORD3 222243#define IDM_SEARCHRECORD4 222244#define IDM_SEARCHRECORD5 222245#define IDM_SEARCHRECORD6 222246#define IDM_SEARCHR... 阅读全文
posted @ 2013-06-25 23:22 唐小喵 阅读(3802) 评论(0) 推荐(0) 编辑
摘要:辅助类:DBHelper类:包括数据库连接字符串、数据库连接对象两个静态公有字段。View Code using System;using System.Collections.Generic;using System.Text;using System.Data.SqlClient;namespace MySchool{ // 存放数据库连接字符串和数据库连接对象 class DBHelper { // 数据库连接字符串 public static string connectionString = "Data Source=.;... 阅读全文
posted @ 2012-09-19 12:21 唐小喵 阅读(2173) 评论(0) 推荐(1) 编辑
摘要:#include "stdio.h"#include "stdlib.h"#include "string.h"typedef int bool;#define true 1#define false 0typedef struct student{ char name[20]; char phone[20]; bool flag; struct student *next;}student;student* Add(student* phead);student* Find(student *phead);void Search(s 阅读全文
posted @ 2012-09-01 08:25 唐小喵 阅读(335) 评论(0) 推荐(0) 编辑
摘要:一个棋牌类小游戏先写一个地图类:public class Map { int[] map = new int[100]; //对战地图 int[] luckyTurn = {6, 23, 40, 55, 69, 83}; //幸运轮盘 int[] landMine = {5, 13, 17, 33, 38, 50, 64, 80, 94}; //地雷位置 int[] pause = {9, 27, 60, 93}; //暂停 int[] timeTunnel = {20, 25, 45, 63, 72, 88, 90}; //时空隧道... 阅读全文
posted @ 2012-07-28 00:38 唐小喵 阅读(352) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示