Created
April 18, 2012 21:25
-
-
Save kdmkdmkdm/2416684 to your computer and use it in GitHub Desktop.
Help with my simple C++ program? (might be obvious...)2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
int main() | |
{ | |
std::string firstName = ""; | |
std::cout << "Enter your first name and press ENTER: "; | |
std::cin >> firstName; | |
std::cout << std::endl; | |
std::cout << "Hello, " << firstName << std::endl << std::endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment