Re: [Dev-C++] Newbie's first question (comparison with MVC 6.0)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <cg...@wo...> - 2003-04-21 09:43:33
|
You have to go to Tools->Editor Options->Class explorer*->options of the
search engine*-<check the two boxes there (I don't know the diference
between the local and the global includes, it seems to be includes of
the project to which the file belongs and global any other header (here
the stdio.h etc).
It works as you want, but if you are writing a win32 app, as windows.h
includes a ton of other headers it is too slow, because it has to parse
all those headers.
Edith Gross wrote:
>> It's called code completion, and yes, it's supported.
>
>
> Thx. I have noticed that it is supported with "main(", i.e. when I
> type the opening parenthesis, the argument list pops up. But it does
> not work with "printf(" and it does not work with "strcpy(" either
> (though both stdio.h and string.h are included).
> Actually, the most important thing would be that it works with my own
> functions (the ones I know the least) but this does not seem to be the
> case either).
>
> Here is my code:
>
> #include <iostream>
> #include <stdlib.h>
> #include <string.h>
> #include <stdio.h>
>
> using namespace std;
>
> int test(int a,int b)
> {
> return a+b;
> }
>
> int main(int argc, char *argv[])
> {
> test(3,4);
> printf("Hallo World\n\n");
> system("PAUSE");
> return 0;
> }
>
> When I type "test(", nothing happens.
>
> Can you help me?
> TIA,
|