Hi I'm pretty new to C++ and obviously I have some questions about some problems I'm having.
1) Some people say that using "using namespace std" is not professional. Whats the difference of using this and std::cout?
2) How do I make a program, in which
if Y (string) = Z (string)
to execute cout << "Some words bla bla bla" << endl;
3) how to create a program, in which
if X (integer) > 30 AND X (integer) < 15
to execute another program, or have another set of requirements?
I hope you guys understand what I'm asking :)
Oh and another question, what is this code " getline(cin, name); "?
Last edited on