Könnt ihr mir bitte mal was ganz genau erläutern!
ich rufe doch func( 10, 15); schon auf!!
und func() ist doch eine int
Würde mir jemand bitte das rote ganz genau erklären.
Ich DANKE euch. :)
Bei dem roten, warum muss ich noch mal eine Variable erstellen??Quote:
#include <iostream>
#include <string>
using namespace std;
// Deklaration & Defination
int func( int iV1, int iV2 )
{
return( iV1 + iV2 );
}
int main()
{
int Ergebnis = func( 10, 15 );
cout << Ergebnis << endl;
system("Pause");
return 0;
}
ich rufe doch func( 10, 15); schon auf!!
und func() ist doch eine int
Würde mir jemand bitte das rote ganz genau erklären.
Ich DANKE euch. :)