自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Tody Guo的专栏

Linux, C, Java, Android 编程

  • 博客(11)
  • 资源 (13)
  • 收藏
  • 关注

原创 C语言连接 Access 数据库

<br />    看视频上是连接MySQL数据库,MySQL安装后配置比较麻烦,所以我试着用老师给的模板连接Access数据库,Access是比较方便使用的<br />只要装了office几乎都有。<br />首先在百度搜索 odbc 连接字符串  找到的是asp连接Access的方法,但是ODBC是通用的,所以直接拿过来也能用。<br />将<br />    SQLCHAR ConnStrIn[MAXBUFLEN] = "DRIVER={MySQL ODBC 5.1 Driver};SERVE

2010-08-30 13:06:00 4942

转载 程序员须知 收包与发包

本文为作者原创翻译并且加入了一些自己的思路和观点,转载请注明。作者:rellikt@gmail.com首发链接:http://blog.csdn.net/rellikt/archive/2010/08/23/5833233.aspx原文链接:http://gafferongames.com/networking-for-game-programmers/sending-and-receiving-packets/简介大家好,今天我们就来说说网络游戏程序员须知的第二篇:收包与发包。上一篇中我们比较了UDP和T

2010-08-27 12:14:00 8515

原创 获取当前CPU使用率

<br />#include <windows.h>#include <conio.h>#include <stdio.h>#define SystemBasicInformation 0#define SystemPerformanceInformation 2#define SystemTimeInformation 3#define Li2Double(x) ((double)((x).HighPart) * 4.294967296E9 + (double)((x).L

2010-08-06 14:20:00 3518

原创 多线程时间服务器

// winsock.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include #include #define PORT 8080int x = 1;void error(char *str){ fprintf(stderr,"%s Error/n",str); exit(1);}

2010-08-05 19:11:00 983

原创 C/C++ Windows蓝牙搜索代码

// wblue.cpp : Defines the entry point for the console application.///******************************************************************** created: 2010/01/29 file base: wBlue file ext: c aut...

2010-08-05 19:07:00 4513

原创 获取Windows Server 2003的时间

<br />/*GNU s_time is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 3 of the License, or (at your option) any later version.Fun

2010-08-05 19:05:00 1227

原创 获取硬盘信息

<br />/*+++HDID.CPPWritten by Lu Linhttp://lu0.126.com2000.11.3---*/#include <windows.h>#include <iostream.h>#include <stdio.h>#define DFP_GET_VERSION 0x00074080#define DFP_SEND_DRIVE_COMMAND 0x0007c084#define DFP_RECEIVE_DRIVE_DATA 0

2010-08-05 19:02:00 2896 1

原创 计算条码枪的隐码

<br />/** (c) Tody 2010* All rights reserved** Compute Hidden Mask of MAC or GUID* Revision: 1.0.0* Author: Tody Kwok* Date: 2010-7-29*/#include <stdio.h>#include <conio.h>#include <stdlib.h>#define progname "hmask.exe"#define rev

2010-08-05 18:55:00 1301

原创 文件CheckSUM

<br />/** Function: Get File checksum value for win32 Author: Tody Kwok Revsion: 1.0.0.1 (c) Tody 2010*/#include <stdio.h>#include <stdlib.h>#include <conio2.h>#define progname "wsum.exe"#define header "(c) Tody 2010

2010-08-05 18:53:00 3486 1

原创 快速关机代码

<br />/* * This is free software, Under GPL2.0 * * (c) Tody 2010, FIC Inc. * All Rights Reserved * * Fast Down System for Windows NT * * Revision: 1.0 * Author: Tody * Date: 2010-08-05 */#include <stdio.h>#include <stdlib.h>#inc

2010-08-05 18:50:00 5038

原创 快速关机

<br />使用   NtShutdownSystem   可以强制关闭   Windows   系统。这个函数是众多的未归档的   Windows   NT/2000   Native   API   函数之一,它在关闭系统时不会事先通知系统服务程序和用户程序。行为很是粗鲁,除非迫不得已,最好不要使用这个函数。msgina.dll   中用到了这个函数。该函数由   ntdll.dll   输出,其原型如下: <br /><br /> NTSYSAPI <br /> NTSTATUS

2010-08-03 12:24:00 1457 2

Windows LID功能检测

获得Windows下LID的操作事件,适用于工厂针对LID功能的测试,主要使用到了guid_lidswitch_state_change的功能,WM_POWERBROADCAST , PBT_POWERSETTINGCHANGE 等事件

2020-08-19

conio2.cpp

实现Windows下的conio.h的实现,让终端程序更加丰富多彩。轻松使用gotoxy, textcolor等函数实现多彩的终端输出。

2020-04-29

读取OA3 KEY源码

读取微软操作系统烧录在BIOS里面的OA3 KEY的源码,非常有研究价值。

2019-07-10

读取LCD的EDID源码

在Windows操作系统下面实现读取LCD的EDID代码,读取的内容需要自己根据LCD的EDID规格解析。代码供参考。

2019-07-10

winRing0 源码

winRing0 驱动源码,CPUID, DMI,I/O port读写及PCI读写。

2013-05-07

SignApk to assign you zip or apk file.

这里的key就是Android的testkey文件,很方便使用哦。 SignApk.jar is a tool included with the Android platform source bundle. To use SignApk.jar you have to create a private key with it’s corresponding certificate/public key

2012-09-03

ubuntu-tweak_0.7.0-1~precise4_all.deb

ubuntu-tweak_0.7.0-1~precise4_all.deb for ubuntu 12.04

2012-04-27

split.pl boot.img文件解压

split.pl解压boot.img的好工具。适合Android专用。

2012-04-26

taglist for vim

taglist plugins for vim

2012-04-21

iniparser for c

处理INI文件的C语言代码,用GCC编译器编译。或在WINDOWS下用cygwin来编译也是一样的。

2012-04-16

LCD EDID SPEC

LCD EDID INFORMATION SPEC

2010-09-29

conio-2.0-1 for DevCPP

支持TC中的gotoxy, textcolor, wherex, wherey等函数。 编译时,需要在LINK中加入LIBCONIO.A文件,或者Lconio

2010-06-18

游戏制作软件

图形化游戏制作软件,无须写大量代码。

2008-05-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除