GetGuess(); vs string Guess = GetGuess();?

As title says Why doesnt my code work with GetGuess(); instead i have to write string Guess = GetGuess(); otherwise my code never ask me to type.

all of this is typed in main whilst the header is above.

what is the difference?

Any conclussions?

Some how it manage to self heal i have no clue but the code actually works like its suppose too and i have done nothing!

Now i only int main contains:

printINTRO();
GetGuess();
cout<<endl;
return 0;

Privacy & Terms