untab.txt

来自「dos 1.0 其中包含quick basic源代码、内存管理himem emm」· 文本 代码 · 共 39 行

TXT
39
字号
SUMMARY UnTab

#include <tools.h>

void UnTab(pstrSrc, pstrDest)
char *pstrSrc;
char *pstrDest;

DESCRIPTION

UnTab copies the source string to the destination expanding '\t' tabs.

RETURN VALUE


IMPLEMENTATION


SEE ALSO


NOTE


EXAMPLE

#include <tools.h>

char bufS[] = "oh\thello\tthere";
char bufD[256];

main(c, argv)
int c;
char *argv[];
{
    UnTab(bufS, bufD);
    printf("123456781234567812345678\n%s\n", bufD);
}

⌨️ 快捷键说明

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