Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kdmkdmkdm/2416547 to your computer and use it in GitHub Desktop.
Save kdmkdmkdm/2416547 to your computer and use it in GitHub Desktop.
Help with my simple C++ program? (might be obvious...)
#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