ctang-w32.ch
来自「著名算法大师高爷爷设计的语言。此语言结合了Tex和C」· CH 代码 · 共 67 行
CH
67 行
This is the change file for CWEB's CTANGLE under Win32(Contributed by Fabrice Popineau, February 2002)Changes necessary for compiling with Borland C/C++@x section 1@d banner "This is CTANGLE (Version 3.64)\n"@y@d banner "This is CTANGLE (Version 3.64win32)\n"@z@x@ We predeclare several standard system functions here instead of includingtheir system header files, because the names of the header files are not asstandard as the names of the functions. (For example, some \CEE/ environmentshave \.{<string.h>} where others have \.{<strings.h>}.)@<Predecl...@>=extern int strlen(); /* length of string */extern int strcmp(); /* compare strings lexicographically */extern char* strcpy(); /* copy one string to another */extern int strncmp(); /* compare up to $n$ string characters */extern char* strncpy(); /* copy up to $n$ string characters */@y@z@xint names_match(p,first,l)name_pointer p; /* points to the proposed match */char *first; /* position of first character of string */@yint __cdecl names_match(p,first,l)name_pointer p; /* points to the proposed match */char *first; /* position of first character of string */@z@xvoidinit_node(node)name_pointer node;{ node->equiv=(char *)text_info;}voidinit_p() {}@yvoidinit_node(node)name_pointer node;{ node->equiv=(char *)text_info;}void __cdeclinit_p() {}@z@x@ @<Include...@>=#include <ctype.h> /* definition of |isalpha|, |isdigit| and so on */#include <stdlib.h> /* definition of |exit| */@y@ @<Include...@>=#include <ctype.h> /* definition of |isalpha|, |isdigit| and so on */#include <stdlib.h> /* definition of |exit| */#include <string.h>@z
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?