Page 1 of 1

how to complete code

Posted: Mon Jun 27, 2016 7:33 am
by cform01
int main(
when i press "(" then a small window comes out with options:int,int argc,char* argv [],now I don't konow which key should be press to comlete the one of three options.

Re: how to complete code

Posted: Mon Jun 27, 2016 9:19 am
by eranif
In this case, this is the "function tip" not the code completion.
This means, that somewhere in the sources, CodeLite found a function named 'main' with the signature (int argc, char* argv[]) and returns INT
This small window is a hint, it tells you that you need to pass integer now (you can see that the "int argc" is highlighted)

CodeLite "thinks" that you are about to call main and not writing your own - so its a mistake in this case

Eran