回复 12# awk
只是一个函数就可以搞定的事情,没什么技术含量,正巧我的电脑也装有C++编译器。 | 函数名: system | | 功 能: 发出一个DOS命令 | | 用 法: int system(char *command); | | 程序例: | | | | #include <stdlib.h> | | #include <stdio.h> | | | | int main(void) | | { | | printf("About to spawn command.com and run a DOS command\n"); | | system("dir"); | | return 0; | | } COPY |
|