![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
静风儿
这个作者很懒,什么都没留下…
展开
-
C++ argc **argv 教程
argc 是 argument count的缩写,表示传入main函数的参数个数; argv 是 argument vector的缩写,表示传入main函数的参数序列或指针,并且第一个参数argv[0]一定是程序的名称,并且包含了程序所在的完整路径,所以确切的说需要我们输入的main函数的参数个数应该是argc-1个;#include <iostream> using na...原创 2018-06-06 09:03:28 · 1018 阅读 · 0 评论 -
C++ 监视检测键盘输入 字符 并打印
直接上代码:#include <fstream> // printf("%s\n", );//#include <stdio.h> #include <sys/select.h> //fd_set#include <unistd.h&原创 2018-06-06 10:01:44 · 5614 阅读 · 0 评论