Skip to content

Ozar.net Developer Blog

Programming in PHP, C, C#, ASP.NET, Java, Objective-C, SQL also for MS SQL Server, Oracle & MySQL Development

Menu
  • Home
  • About
  • Tutorials
  • Contact
  • Privacy
Menu

C++ Tutorial – 2 – The Basic Syntax and Functions

Posted on April 19, 2010April 26, 2010 by OD


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”

  1. cerlenox says:
    April 19, 2010 at 3:54 PM

    ┌∩┐(â—•_â—•)┌∩┐ Fuck the new layout on YouTube… COPY AND PASTE IF U DONT LIKE THE NEW LAYOUT 1 week ago

    Log in to Reply
  2. androooww says:
    April 19, 2010 at 4:22 PM

    Good tutorial, but I recommend avoiding system commands. You could have used cin.get(); instead of system(“pause”);

    Log in to Reply
  3. Skizzys says:
    April 19, 2010 at 5:19 PM

    ∩┐(â—•_â—•)┌∩┐ Fuck the new layout on YouTube… COPY AND PASTE IF U DONT LIKE THE NEW LAYOUT

    Log in to Reply
  4. Skizzys says:
    April 19, 2010 at 5:33 PM

    Great tutorials ;))))

    Log in to Reply
  5. athonydominguez says:
    April 19, 2010 at 6:01 PM

    ∩┐(â—•_â—•)┌∩┐ Fuck the new layout on YouTube… COPY AND PASTE IF U DONT LIKE THE NEW LAYOUT

    Log in to Reply
  6. draining12 says:
    April 19, 2010 at 6:04 PM

    ∩┐(â—•_â—•)┌∩┐ Fuck the new layout on YouTube… COPY AND PASTE IF U DONT LIKE THE NEW LAYOUT

    Log in to Reply
  7. iZenic says:
    April 19, 2010 at 6:31 PM

    thx bucky!! this is an awesome tut. the only video that only makes sense! others dont explain, and their boring…. i subcribed 😉

    Log in to Reply
  8. vallismall says:
    April 19, 2010 at 6:57 PM

    In Visual C++ you do
    using namespace std; after int main()
    not in the brace o.O

    Log in to Reply
  9. bigojac2000 says:
    April 19, 2010 at 7:10 PM

    something is wrong with the line. The x keeps poppin up when i try to compile and run it

    cout << "hey now brown cow.";

    Log in to Reply
  10. 4chargers43 says:
    April 19, 2010 at 8:03 PM

    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?

    Log in to Reply
  11. gorgorp says:
    April 19, 2010 at 8:48 PM

    or just
    cout << "Hey now brown cow.n";

    Log in to Reply
  12. EmuAddict says:
    April 19, 2010 at 9:25 PM

    @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";

    Log in to Reply
  13. mohamedj12 says:
    April 19, 2010 at 10:09 PM

    holy shit how i miss that wow thanks dude

    Log in to Reply
  14. sourcegamerC says:
    April 19, 2010 at 10:14 PM

    it’s cout not count

    Log in to Reply
  15. CatalystHackz says:
    April 19, 2010 at 10:32 PM

    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.

    Log in to Reply
  16. tontoF12 says:
    April 19, 2010 at 11:08 PM

    hi thenewboston
    keep up the good work! i love this tutorial
    but, system(“pause”) doesn’t work, try this:
    sleep(number of seconds);

    bye

    Log in to Reply
  17. mohamedj12 says:
    April 19, 2010 at 11:39 PM

    i am but its still not working

    Log in to Reply
  18. mohamedj12 says:
    April 20, 2010 at 12:33 AM

    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;

    Log in to Reply
  19. m4unot says:
    April 20, 2010 at 12:46 AM

    In c++ to make titel

    you do like that :

    system(“TITLE NAME);

    but how do i make icon?

    Log in to Reply
  20. 0121ryanh117 says:
    April 20, 2010 at 12:55 AM

    @unobiunobi The “<<" insertion operator is used to add to the output stream (buffer).

    Log in to Reply
  21. saingtravis says:
    April 20, 2010 at 1:33 AM

    it didnt work for mee….

    Log in to Reply
  22. narutojag says:
    April 20, 2010 at 2:03 AM

    I love the way you explain it. SO SUBSCRIBING.

    Log in to Reply
  23. OlloX3 says:
    April 20, 2010 at 3:00 AM

    Do not use system(“pause”); use getch(); instead!

    Log in to Reply
  24. Ellyas87 says:
    April 20, 2010 at 3:44 AM

    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!

    Log in to Reply
  25. ithakra says:
    April 20, 2010 at 3:56 AM

    I just subscribed. Your a good teacher, keep em coming!

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Recent Posts

  • NSTableView with Core Data Tutorial using NSFetchedResultsController
  • CodeIgniter Wizard – a new PHP CRUD Code Generator for macOS
  • Installing Oracle Database 10g Express Edition and Changing the Default HTTP Port
  • Xcode Tutorial 2 – Putting iAd into your App (The Apple Approved Way)
  • Cocoa Programming: A Quick-Start Guide for Developers

Blogroll

  • All Systems GO
  • GOZmosis
  • Maclord's Blog
  • Ozar.net

Tags

.NET 2008 application ASP.NET basic Beginning best books business Business Objects C# Database Databases Development Edition Guide iPhone Java Java EE learn Learning Lesson Microsoft MS SQL Server MySQL Objective-C Programming objects Oracle Part PHP PL/SQL Professional Programming Server Software SQL T-SQL TSQL Tutorial Tutorials Using Video Visual Visual Basic .NET Web Programming Tutorials
© 2026 Ozar.net Developer Blog | Powered by Minimalist Blog WordPress Theme

Powered by
►
Necessary cookies enable essential site features like secure log-ins and consent preference adjustments. They do not store personal data.
None
►
Functional cookies support features like content sharing on social media, collecting feedback, and enabling third-party tools.
None
►
Analytical cookies track visitor interactions, providing insights on metrics like visitor count, bounce rate, and traffic sources.
None
►
Advertisement cookies deliver personalized ads based on your previous visits and analyze the effectiveness of ad campaigns.
None
►
Unclassified cookies are cookies that we are in the process of classifying, together with the providers of individual cookies.
None
Powered by