Part 3 – www.youtube.com Make sure to Subscribe to my Channel for all my latest videos!!! support my website too by registering at thenewboston.com
25 thoughts on “C++ Tutorial – 2 – The Basic Syntax and Functions”
Leave a Reply to mohamedj12 Cancel reply
You must be logged in to post a comment.
┌∩â”(â—•_â—•)┌∩┠Fuck the new layout on YouTube… COPY AND PASTE IF U DONT LIKE THE NEW LAYOUT 1 week ago
Good tutorial, but I recommend avoiding system commands. You could have used cin.get(); instead of system(“pause”);
∩â”(â—•_â—•)┌∩┠Fuck the new layout on YouTube… COPY AND PASTE IF U DONT LIKE THE NEW LAYOUT
Great tutorials ;))))
∩â”(â—•_â—•)┌∩┠Fuck the new layout on YouTube… COPY AND PASTE IF U DONT LIKE THE NEW LAYOUT
∩â”(â—•_â—•)┌∩┠Fuck the new layout on YouTube… COPY AND PASTE IF U DONT LIKE THE NEW LAYOUT
thx bucky!! this is an awesome tut. the only video that only makes sense! others dont explain, and their boring…. i subcribed 😉
In Visual C++ you do
using namespace std; after int main()
not in the brace o.O
something is wrong with the line. The x keeps poppin up when i try to compile and run it
cout << "hey now brown cow.";
when i compile and run it, it gives me an x next to.. using namespace std; it says ‘using’ undeclared (first use in this function). could i get some help?
or just
cout << "Hey now brown cow.n";
@CatalystHackz He is probably just doing that to make it more obvious about what endl does. An even easier way is to use the endline character
cout << "Hey now brown cow.n";
holy shit how i miss that wow thanks dude
it’s cout not count
This is a easier/faster way of doing the endl;
Instead of making a whole new line dedicated to it, you can do this:
cout << "Hey now brown cow." << endl; So it's on the same line, and it's less typing.
hi thenewboston
keep up the good work! i love this tutorial
but, system(“pause”) doesn’t work, try this:
sleep(number of seconds);
bye
i am but its still not working
it have a problem when i doe comile and run it always has this line as a x and im like having problems with every line for some reason
line
count << endl;
In c++ to make titel
you do like that :
system(“TITLE NAME);
but how do i make icon?
@unobiunobi The “<<" insertion operator is used to add to the output stream (buffer).
it didnt work for mee….
I love the way you explain it. SO SUBSCRIBING.
Do not use system(“pause”); use getch(); instead!
Nice work man, your clear, you define your terms and you keep it simple for us ig’nant folks out there trying to get our foot in the C++ door. Keep the tuts coming!
I just subscribed. Your a good teacher, keep em coming!