在C++ man pages中查询C++的函数
来源:互联网 发布:fuzz下载同志软件 编辑:程序博客网 时间:2024/06/05 14:10
在Linux下查询命令或函数的使用,通常是这样:
man printf
man 3 printf
man cat
但是为了避免造成操作系统、C语言与C++的混淆,目前安装的C++ man pages与上面的查询命令有一些不同,主要是加了命名空间的限定,也就是说用这样的命令 : man cout , 是查询不到的。
正确的方法应该是:
man std::iostream ,之后再通过搜索/cout,找到cout的说明
也就是说现在的查询命令应该是
man namespace::header
man 命名空间::头文件
下面是英文原文:
How many times did you try on the terminal the following command and got frustrated
If you have decided that there is no way you can find more about cout apart from going to web, then read the article onhow to install C++ man pages?
Once you have installed the documentation, you must follow the following method to know more about the function
If you are searching about cout, you know it is part of the namespace std and defined in the headeriostream. So to search for cout, you must type
Once the man page is open, you can search for cout.
Similarly for slist related function
Thus the syntax to search any c++ man page is
Note: The man pages are generated using doxygen. You may not much elaborate description like you get for C function.
- 在C++ man pages中查询C++的函数
- 【入门】用Linux中man命令查询C函数
- 用Linux中man命令查询C函数
- linux中关于函数的man查询
- centos下man命令无法查询c函数内容
- man c 函数 安装 使用
- 2、ubuntu中man不能查询函数的解决方法
- 安装最新的man-pages
- 3.linux C 用man查各种函数的用法
- linux C man的用法
- 在C++文件中调用C 的函数
- man pages
- 让man命令显示C函数帮助
- Linux C pipe函数 man 翻译
- C#、Oracle、Sql server中拼音查询的函数
- C#、Oracle、Sql server中拼音查询的函数
- linux ubuntu c 查询函数 msdn vim 中查询函数
- alias man='man -S 2:3:1' 优先man C函数
- poj 3074(数独 Dancing Link精确覆盖)
- 网页资料-Java中数据库连接池原理机制的详细讲解
- Linux与Windows 共享文件Samba
- SpeedCommander 13.60 Build 6500 32-bit 汉化版发布
- 如何选择磁珠进行滤波处理?
- 在C++ man pages中查询C++的函数
- IIS下安装php5.3
- 软件招聘之难
- 运行时数据结构-段
- 设置UIImage或UIView圆角 、设置UIView边框的代码
- Boosting算法简介
- linux2.6驱动开发系列教程
- IT公司未来的盈利模式:IT服务及IT外包服务
- 搭建嵌入式QT4开发环境