Hello,
So I did the challenge and came up with:
cout << “Welcome to Bulls and Cows, a fun word game.” <<endl;
cout << "Can you guess the “;
cout << WORLD_LENGTH;
cout << " letter isogram I’m thinking of?\n”;
This differs from the proposed solution, which is:
cout << “Welcome to Bulls and Cows, a fun word game.” <<endl;
cout << “Can you guess the " << WORLD_LENGTH;
cout << " letter isogram I’m thinking of?\n”;
My question is; Was my way less efficient? Does it really matter? And what does “<<” do exactly?
Cheers to whoever responds, Kim