Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active September 3, 2019 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/b71fa9f805bc1da7fc0b24f83054c39d to your computer and use it in GitHub Desktop.
Save parzibyte/b71fa9f805bc1da7fc0b24f83054c39d to your computer and use it in GitHub Desktop.
#include <iostream>
// https://parzibyte.me/blog/2019/06/19/namespaces-cpp-using-namespace/
using namespace std;
int main() {
string nombre = "";
cout << "Escribe tu nombre: \n";
getline(cin, nombre);
cout << "Hola, " << nombre;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment