$\require{cancel}$
#include <iostream> #incldue <string> using namespace std; const string SALUTE {"Hello"}; int main() { string name, greeting; cout << "Please enter your name =>"; cin >> name; cout << endl; greeting = SALUTE + name; cout << greeting << endl; return 0; }
cd
to change directories
cd dirname
cd
will change to home directory
cd ..
will change one level up.
ls
to see directory names
pwd
to figure out where you are.
g++ -o filename filename.cpp
to compile your program.