C++ Tutorial 2 (Pt 1 of 2) - Variables
Loading...
21,746
Uploader Comments (2000ContourSVT)
see all
All Comments (26)
-
you don't need "\n" in from of "please enter the second number"...
Just use
cout endl<< "please enter the second..." << endl
it shopuld do the trick.
endl is just short for "\n" :)))) a macros if you will
-
Thank you, that was very useful for me
-
JoinT
-
we cant see what system pause you typed so my project is just stuck...thanks
-
system *
-
Easy.. :P ... For those who dont know.. if you didnt saw the end part is syste("PAUSE"); .... save it!
-
come have a look at my c++ lessons
-
the end part is: system("pause");
-
Yea, you can do anything with c++
Loading...
can u pls tell me wat "using namespace std" for?
maehoney10 4 years ago
Sorry man I never seen the notification for this comment. Here is the basics of why I use "using namespace std;". There are librarys that are included in C++ and the "cout" is included in the standard library so normally you would type "std::cout" but if you use "using namespace std;" you are using the standard library which allows you to do less typing.
2000ContourSVT 4 years ago