Author Topic: How to open standard library headers?  (Read 7871 times)

Offline Munto

  • Single posting newcomer
  • *
  • Posts: 2
How to open standard library headers?
« on: December 13, 2016, 03:07:01 am »
Hello !
I'm pretty new to Codeblocks and C in general and I would like to open header files to see which functions are available in one click.

When I right click on #include <stdio.h> in the editor and select "Open #include file: 'stdio.h'", a popup opens and says "Not found: stdio.h".
So, is there a way to say to codeblocks where to find stdio.h in order to open it easily?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to open standard library headers?
« Reply #1 on: December 13, 2016, 09:10:39 am »
Do you have a compiler?
Which version do you use? Which OS?
Do you have a project?

It works for me for C++ projects.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Munto

  • Single posting newcomer
  • *
  • Posts: 2
Re: How to open standard library headers?
« Reply #2 on: December 14, 2016, 01:53:59 am »
Glad to read it!

I have only gcc as compiler, at least, it is what codeblocks suggests to me when I launch it.
gcc version 6.2.1 20160830 (GCC)

My running OS is archlinux and I have codeblocks 16.01
I found out that all C libraries were contained in the folder /usr/include

Edit:
After taking the time to read what was written in the popup when I launch codeblocks, I have the feeling that the IDE is not correctly configured.
I join a screenshot for more details.
I tried to navigate in settings and menus but all of that is a bit confusing and not really explicit for me.

Thank you for your help.
« Last Edit: December 14, 2016, 05:00:24 am by Munto »