- 博客(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功能检测
2020-08-19
SignApk to assign you zip or apk file.
2012-09-03
ubuntu-tweak_0.7.0-1~precise4_all.deb
2012-04-27
conio-2.0-1 for DevCPP
2010-06-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人