webForumDet fria alternativet

call to function with no prototype

C/C++ur C/C++

1 svar · 141 visningar · startad av Addeladde

AddeladdeMedlem sedan jan. 20013 406 inlägg
#1

Vad betyder det?

PhorpherMedlem sedan feb. 20002 300 inlägg
#2

Förmodligen har du glömt att deklarera funktionen.

T.ex:

int foo(int j);

int main(void)
{
    ...
}

int foo(int j)
{
   ...
}
131 ms totalt · 3 externa anrop · v20260731065814-full.29ac60f6
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
128 ms — hämta tråd, inlägg och bilagor (db)