搜索资源列表
GB2UTF8
- GB转UTF8 void ConvertGBKToUtf8(CString& strGBK)-GB switch UTF8 void ConvertGBKToUtf8 (redeem
cthread_demo
- cthread使得同在MFC线程不相上下一样,在你的C#/Java语言. 对于你自己说可以用class CThread Run( void * ) Start() .启动线程-cthread made with the MFC similar to the same thread, in your C# / Java language. For your own class can be used CThread Run (vo id *) Start (). start threads
tubianli
- 图的遍历的演示(c 语言 数据结构课程设计题) /*定义图*/ typedef struct{ int V[M] int R[M][M] int vexnum }Graph /*创建图*/ void creatgraph(Graph *g,int n) { int i,j,r1,r2 g->vexnum=n /*顶点用i表示*/ for(i=1 i<=n i++) { g->V[i]=
200552181033553_600it
- 第三方空间//--- --- --- --- --- --- --- #include <vcl.h> #pragma hdrstop USERES(\"WinSkinC5.res\") USEPACKAGE(\"vcl50.bpi\") USEUNIT(\"WinSkinReg.pas\") USERES(\"WinSkinReg.dcr\") USEPACKAGE(\"vclx50.bpi\") //----------------
config
- 一个读写注册表的类 #ifndef __SYS_CONFIG_H__ #define __SYS_CONFIG_H__ #ifndef __COMMONFUNC_INCLUDE__ #define __COMMONFUNC_INCLUDE__ #endif class CConfig { public: CConfig() ~CConfig() void Load() void Save() CStr
LinuxUART
- linux 下串口编程 #include <stdio.h> /*标准输入输出定义*/ #include <stdlib.h> /*标准函数库定义*/ #include <unistd.h> /*Unix标准函数定义*/ #include <sys/types.h> /**/ #include <sys/stat.h> /**/ #include <fcntl.h> /*文件控制定义*/ #inc
1.rar
- 用于基本数据类型之间的转换,如把int转换成char,把int转换成enum。这种转换的安全性也要开发人员来保证。 把空指针转换成目标类型的空指针。 把任何类型的表达式转换成void类型。,Between the basic data types for conversion, such as the int into a char, the int to convert enum. This conversion should be the development of securit
ET2
- 线程描述。主程序创建两个线程myThread1 和 myThread2 ,每个线程打印一句话。使用pthread_create(&id,NULL,(void *) thread,NULL)完成。 先定义每个线程的执行体,然后在main中创建几个线程,最后主线程序等待子线程序结束后再退出。 2、创建两个线程,分别向线程传递如下两种类型的参数 -Thread descr iption. Main program creates two threads myThread1 and my
myshell
- 应用UNIX的fork()等系统调用,编写一个c程序具有以下功能: a) 实现Shell的基本功能,包括有:打印提示符;接受和分析命令行(滤去无效的空格、tab符号以及换行符等);执行命令(要有出错处理;输入exit或者bye退出);返回父进程; b) 处理后台程序(不需要wait) c) 处理多行命令(分析命令行中的‘ ’并处理之) d)应用 dup(), pipe()系统调用具有输入输出重定向以及管道功能;-Application of UNIX s fork () system call,
sha256
- SHA-256源代码,三个对外的函数:void SHA256Init (SHA256Context *sc) void SHA256Update (SHA256Context *sc, const void *data, uint32_t len) void SHA256Final (SHA256Context *sc, uint8_t hash[SHA256_HASH_SIZE]) 第一个函数初始化,第二个函数输入要hash的字符串,第三个函数输出结果-SHA-256 sou
shell
- #include<stdio.h> #include<string.h> #include<limits.h> #include<unistd.h> #include<sys/types.h> #define PROMPT_STRING "[myshell]$" #define QUIT_STRING "exit\n" static char inbuf[MAX_CANON] char *
LibraryManagementSystem
- 、、 、、 char name[10] //读者姓名 int borbook[Maxbor] //所借图书 public: Reader() {} char *getname() {return name } //获取姓名 int gettag() {return tag } //获取删除标记 int getno() {return no } //获取读者编号 void setname(char na[]) //设置姓名 -,,,, Char
cs4
- cs4+注册序列号无效替换文件 cs4+注册序列号无效替换文件-serial number cs4+ register void replace files Register cs4+ serial number cs4+ void replace files Register files replace invalid serial number
alloc
- Memory Allocation in C-write part of a dynamic storage allocation package. The package provides three function calls: void initalloc(), to initialize the data structures involved char* alloc(int n), which returns a pointer to a block
docking
- void DockWidget::dock() { if (!docked) { KWin::setSystemTrayWindowFor(this->winId(), 0) this->setFixedSize(24, 24) this->show() docked = true } }
11912880http_client_2.0
- 在linux平台上的http客户端实现,让你全面了解并掌握http的过程和java 的开发。-it make in linux ,and utime pid void ,that make you feel very good.
ivi_ls
- 目的: 1、应用UNIX的fork()等系统调用,编写一个c程序具有以下功能: a) 实现Shell的基本功能,包括有:打印提示符; 接受和分析命令行(滤去无效的空格、tab符号以及换行符等); 执行命令(要有出错处理;输入exit或者bye退出);返回父进程; b) 处理后台程序(不需要wait) c) 处理多行命令(分析命令行中的‘ ’并处理之) d)应用 dup(), pipe()系统调用具有输入输出重定向以及管道功能;
md5c
- MD5加密算法,函数定义: void ToMD5(char *src, char *md5code) src为传入字符串,md5code为MD5加密后的内容。-This is a MD5 encode function. Function is defined as following: void ToMD5(char*src, char*md5code) src: source string md5code: encoded string
md5
- MD5生成函数,使用简单: //初始化 void beginCal() //初始化后,输入数据,在调用endCal前,都可以继续添加数据 void addData(const char* data, unsigned int size) //表明不再输入数据了,将添加填充位 void endCal() //结束运算后,取得编码 char* getCode() //清理内存 void clearMemoryHelper(char*
Void
- Placeholder class for the Java keyword void.