Linux C/C++編程手冊查閱方法

來源:互聯網
上載者:User

標籤:linux   包含   自動   引擎   tab補全   查詢   log   ram   share   

Linux Programmer‘s Manual & User Commands

https://www.kernel.org/doc/man-pages/ 搜尋方塊輸入epoll調用搜尋引擎尋找

線上搜尋查看man手冊(比如查epoll),可以直接收藏,方便下次點擊搜尋:

http://global.bing.com/search?q=site:man7.org epoll

The Linux Kernel API

https://www.kernel.org/doc/htmldocs/kernel-api/

The GNU C Library

http://www.gnu.org/software/libc/manual/html_node/

使用man/info查看函數手冊:

man epoll(Tab補全) 或 man -k epoll

man -k sleep 查看包含sleep的手冊

man -f sleep 查看名為sleep的手冊(多個序號)

man -a sleep 查看所有名為sleep的協助資訊

man 1 sleep 查看序號1的sleep

man 3 sleep 查看序號2的sleep

把man或info的資訊存為文字檔:

man epoll | col -b > epoll.txt

info epoll -o epoll.txt -s

C++函數手冊:

線上手冊:

http://gcc.gnu.org/onlinedocs/

http://www.cplusplus.com/reference/

離線手冊:

sudo apt-get -y install libstdc++6-4.6-doc

file:///usr/share/doc/libstdc++6-4.6-doc/libstdc++/html/index.html

線上搜尋:
http://global.bing.com/search?q=site:cplusplus.com vector

像man一樣查看手冊cppman:

https://github.com/aitjcize/cppman

sudo apt-get install python-pip vim

sudo pip install cppman

cppman cout

cppman用法類似man,查詢時能自動從cplusplus.com下載對應內容並轉換成man pages.

cppman -c 從cplusplus.com上下載所有手冊,耗時較長,但方便離線查看,不過一般是不需要的.

如果你喜歡IDE或者想把IDE當個備胎用的話,Linux上推薦Qt Creator。

 

 

Linux上使用Qt Creator進行C/C++開發 
https://my.oschina.net/eechen/blog/166969
http://static.oschina.net/uploads/space/2014/0217/025140_OJwD_561214.png

 

https://my.oschina.net/eechen/blog/206443

Linux C/C++編程手冊查閱方法

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.