Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Viewing language (C/C++) reference/documentation in CodeBlocks

Tags:

c++

c

codeblocks

My first question on StackOverflow...

Does anybody know a way of viewing the reference/documentation manual of a language through CodeBlocks? Specifically for C/C++.

Example:
Say I want to look up the reference for strncpy(). In a very old Borland system (which we use at school) I would write the word and middle-click on it, thus being taken to its reference. It would also be nice if one can browse through the manual in some way.

Have I completely overlooked this (also searching google), or is it missing? If it's missing, what's the quickest way of searching the C and/or reference manual without being online?

Regards!

like image 572
Patrick Avatar asked Dec 04 '08 17:12

Patrick


2 Answers

Yes, it is possible. I'm not sure about the help files themselves though.

The procedure seems to be documented here.

from the forums.

Re: F1 - help and function reference « Reply #1 on: September 15, 2008, 02:07:59 pm »

if you have the help plugin installed, you can set help files through "Settings->Environment" and clicking on "Help files" in the list to the left. The default file is called when pressing F1.. Logged starmaker Newcomer * Posts: 3

Re: F1 - help and function reference « Reply #2 on: September 15, 2008, 06:57:29 pm »

You are right but is there any up do date documentation ?

Now I use MSDN or cppreference.com web pages. Regards, starmaker

like image 64
EvilTeach Avatar answered Oct 26 '22 03:10

EvilTeach


I found the complete answer. Based on your reply EvilTech.

Here's the setup procedure for different systems: http://wiki.codeblocks.org/index.php?title=Help_plugin

And here are the help files for C++ compiled from an online source: http://onnerby.se/~daniel/chm/

I find it strange though that I couldn't find any other help files for C "out there". I also had problems viewing the .chm files. The list of keywords of the file are shown, but the contents of each keyword does not show. Turns out this is comes from a windows security update. The solution is to right-click on the file -> properties -> click on "unblock".

like image 33
Patrick Avatar answered Oct 26 '22 01:10

Patrick