Author Topic: [RESOLVED]about IDE - why the functions prototype, from .h files aren't showed?  (Read 7722 times)

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
i have the Code Blocks 12.11 and i use the C\C++ language.
when i do:

#include <windows.h>

GetDC(

why isn't showed the function parameters?
with functions\header files that we create, they are showed
« Last Edit: November 19, 2013, 09:27:36 pm by cambalinho »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: about IDE - why the functions prototype, from .h files aren't showed?
« Reply #1 on: November 19, 2013, 01:06:53 am »
12.11 is pretty old, and there where a lot improvements. So try a nightly build... You can find all infos in the nightly build sub forums


greetings

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
Re: about IDE - why the functions prototype, from .h files aren't showed?
« Reply #2 on: November 19, 2013, 07:13:39 pm »
it can be old, but i need it... so is there a plugin or something for i get what i need?(please)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: about IDE - why the functions prototype, from .h files aren't showed?
« Reply #3 on: November 19, 2013, 07:16:04 pm »
it can be old, but i need it... so is there a plugin or something for i get what i need?(please)

Did you check the CC settings?
It might just be a setting issue in Code Completion Plugin.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
Re: about IDE - why the functions prototype, from .h files aren't showed?
« Reply #4 on: November 19, 2013, 07:38:43 pm »
it's on Editor options, but i can't find the right option :(

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: about IDE - why the functions prototype, from .h files aren't showed?
« Reply #5 on: November 19, 2013, 08:01:38 pm »
it's on Editor options, but i can't find the right option :(

I have the new Nightly in it;
I would try CC -> C/C++ Parser Tab

Likely try adding it to "Headers to Parse with high priority"

Also, on CC -> CC Tab
Make sure "Enable Header Code Completion"

NOTE: I never use CC.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
Re: about IDE - why the functions prototype, from .h files aren't showed?
« Reply #6 on: November 19, 2013, 09:24:42 pm »
finally i fix it ;)
thanks for all.
on Global Compiler Settings -> Search Directories -> Compiler i had the folder incorrect and i fix it... now i have what i need.. thanks for all
i found it from here: http://comp.ist.utl.pt/bac/Prog1011.info1Sem/Software/manual_en.pdf
(page 17 "1.11.7 Auto complete")
thanks for all
« Last Edit: November 19, 2013, 09:26:15 pm by cambalinho »