⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 takechar.h

📁 Takechar 可以从不同种类的源代码中取出中文字符.它对于嵌入式设备的小字体开发非常有帮助.
💻 H
字号:
/****************************************************
	Takechar V1.00 Takes out Chinese characters from source code.
	Copyright(C) 2007 ShiQizheng(sales@newexperience.51.net)
	http://newexperience.51.net

	All rights reserved.

	Released under GPL. Please see "gpl.txt" for details.
****************************************************/

#ifndef __TAKE_CHAR_H__
#define __TAKE_CHAR_H__

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>

#define RESULT_DONE 0		//OK
#define RESULT_EXIT 1		//Exit
#define RESULT_FILE_ERROR 2		//File Error
#define RESULT_FILE_EOF 3		//File EOF
#define RESULT_ERROR 99		//Error

#define MAX_FILENAME_LENGTH 1024

typedef struct tagFunctionTable{
	int iFunctionNumber;
	int (*pFunction)( int, int * );
}FUNCTIONTABLE;

#ifdef __cplusplus
extern "C" {
#endif

int ReadOneByte( FILE *pFile, char *pChar);
void Log( char *szFormat,...);
void ErrorCodeToMessage( int iErrorCode);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -