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

📄 mktl.c

📁 在51单片机上实现TCPIP协议栈
💻 C
字号:
/* Create command files for Borland TLIB command. Reads list of
 * object file names from stdin in free format
 */
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
int
main()
{
	int c;
	int prev = 0;

	for(;;){
		/* Skip leading white space */
		while(c = getchar(),isspace(c))
			;
		if(c == EOF)
			break;
		if(prev)
			printf(" &\n");
		/* Print "+token" */
		printf("+%c",c);
		while(c = getchar(),!isspace(c) && c != EOF)
			putchar(c);
		if(c == EOF)
			break;
		prev = 1;
	}
	putchar('\n');	/* Final line is empty */
	return 0;
}

⌨️ 快捷键说明

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