Solved I do not know how to google
-
Hello,
I know it's not really a Qt question :)I want to find some more information about the following C-function declaration, but I do not know whats a keyword for search ?
char *itoa(i)
int i;
{
... -
@wally123
You are joking. Are you?
http://lmgtfy.com/?q=c+itoa -
If you are not trolling us ;)
I can tell you its old C style where param type is listed after the parameter and
itoa is function to convert integer to a string. -
"itoa" is not the question :) sorry
char *ifunction_name(i)
int i;
{
...
just the structure -
Its very old c style where the type of the parameters are NOT up with the name, but listed after.
so nowadays we write
char *ifunction_name(int i)
{Its called k&r style and is from those who made c
http://stackoverflow.com/questions/3092006/function-declaration-kr-vs-ansi
https://en.wikipedia.org/wiki/C_(programming_language)#K.26R_C -
"Its called k&r style and is from those who made c"
and the linksthank you very much
ps. no idea how to mark this thread SOLVED
-
@wally123
hi on first post, to the right side / under post, is "Topic Tools", there is a mark as solved. -
@mrjj
can not find "mark as solved"
I just can choose "Delete Topic" and "Ask a question"
(the new forum is not very convenient, at least I do not understand it) -
@wally123
Hi, its not the Gear icon.
First post, under the topic, to the right. Next to Reply.
There is "Topic Tools" button. -
no, not for me:
I'm locked in and see in the pop-up of "Topic Tools" button under the topic, to the right. Next to Reply only:
"Delete Topic"
"Ask as question"
I would like to append a little screenshot of this area, but this is another challenge. -
Hi,
You have asked without it being question.
Could you try to press "Ask as question"
and then check if it now allows to "solved" -
Yes, seems to work now.
Anyway strange. Usually I add a "?" on the end of a sentence to mark it as a question. I do not get the sense of this (yet)
thank you! -
@wally123
well after the update, the forum supports non question topics.
So for some reason it was posted as such,