Hi I'm new to C++, and I'm having an issue with this code where I need to enter information on each of the lines; however for some reason I can only enter information for "My name is". once I enter my name it goes to the end of the program, and won't let me enter anything else. What am I doing wrong? thanks in advance for the help!
Is it that important to drop using namespace std; and using std::? I'm obtaining my bachelors in comp sci and none of my professors have stressed the importance of std:: over just using namespace std; (maybe i had bad professors)
Non of my professors stressed the importance of std:: either. Beginners are usually taught to just use usingnamespace std; and not worry about it. But yes it's important, it'll save you lots of headache later on.
I'm obtaining my bachelors in comp sci and none of my professors have stressed the importance of std:: over just using namespace std;
To some extent, this is to be expected. Computer Science is not programming. A programming language is a convenient notation to use to express and demonstrate some computer science concepts, and it's nice to know how to use that notation in a professional software development context, but CS isn't a "how to program" apprenticeship - which is fine, and how it should be. You just need to remember that your degree isn't about turning you into a professional programmer, and that if that's your aim, you're going to have to work on the craft of programming independently.