Rules:
- 'Hello, world!' must be exactly the same to this example.
- 'This is foo.' must match this one and contain proper grammar. This line must also be on a new line.
- All code must be between the '[ code ]' tags.
- Which language it is must be stored in a varible and outputed. If the language doesn't support variables it must be clearly stated some other way.
- The code must be complete. No snippits, the entire code requiered for it to work must be included.
- No using the same language twice!
I'll start, obviously.
- Code: Select all
#include <iostream>
#include <string>
int main()
{
std::string language("C++");
std::cout << "Hello, world!" << endl << "This is foo." << endl;
std::cout << language << endl;
}
