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

📄 readme_en.txt

📁 Takechar 可以从不同种类的源代码中取出中文字符.它对于嵌入式设备的小字体开发非常有帮助.
💻 TXT
字号:
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.

1. Introduction
Takechar can take out Chinese characters from different kind of
source code. It is useful for embbed device small font developing.

Current supported source code:
.c	C language source code file
.h	C language header file
.asm	Assemble language source code file
.inc	Assemble language include file
.s	Assemble language source code file


2. Compile
Under takechar directory, just type 'make':
$make

To see examples, use 'make example':
$make example


2. Usage
Usage: takechar <source list file> <output file>

source list file: Contains the list of source code. Each line is one file.
Here is an example:

src.lst:
./helloworld.h
./helloworld.c

You can generate this file by 'find':
$find -type f > src.lst

outputfile: Contains the Chinese characters had been taken out. Each
line is one Chinese character.


3. Examples
There are two C source code files under "examples":

helloworld.h:
#include<stdio.h>
#include<stdlib.h>

#define STRING1 "Hello world!\n"
#define STRING2 "你好世界!\n"


helloworld.c:
#include "helloworld.h"

int main( int argc, char **argv[])
{
	unsigned char szString1[] = "Hi, welcome to use takechar!\n";
	unsigned char szString2[] = "你好,欢迎使用takechar!\n";
	
	printf( STRING1);
	printf( STRING2);
	printf( szString1);
	printf( szString2);
	return 0;
}

After 'make example', you will get output file "out.txt":
使

All Chinese characters had been taken out from source code seperatly.

2007.01.10

⌨️ 快捷键说明

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