Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: C++ Tutorial | Hello World | 1

  1. #11
    Senior Member
    Join Date
    Mar 2013
    Location
    Russia
    Posts
    240
    Rep Power
    7
    Lol try to understand vb, you will find other program's languages are so easy !

    The Best VPN!
    VVV Click Below VVV


  2. #12
    Senior Member
    Join Date
    Feb 2013
    Location
    TN
    Posts
    199
    Rep Power
    7
    Good job, nice for begginners to c++, but yes, Bruce try vb just made a begginners guide if you wanna check it out.

    The Best VPN!
    VVV Click Below VVV


  3. #13
    Banned
    Join Date
    Apr 2013
    Location
    Chernogorsk Fire Station
    Posts
    329
    Rep Power
    0
    Thanks for this very useful, everyone who wants to learn Youtube C++ tutorial absolute noob spoonfeed, better than a irl course!

    The Best VPN!
    VVV Click Below VVV


  4. #14
    New member
    Join Date
    May 2013
    Posts
    1
    Rep Power
    0
    Here is a bit of advice.

    You should never use system calls. After you included iostream, include a header file called conio.h (#include <conio.h>). Now before return 0, type getch();. This will pause the program just like the system call but it is considered better syntax.

    Also, don't use the "using namespace std;". Whenever you type "cout", "endl", or "cin", you type "std::cout", "std::endl", and "std::cin". Again, you should always get used to writing beautiful code.

    Example:

    #include <iostream>
    #include <conio.h>

    int main()
    {
    std::cout << "Hello World" << std::endl;
    getch();

    return 0;
    }
    Last edited by jcunit; 05-16-2013 at 11:00 PM.

  5. #15
    New member
    Join Date
    May 2013
    Posts
    7
    Rep Power
    0
    Quote Originally Posted by jcunit View Post
    Here is a bit of advice.

    You should never use system calls. After you included iostream, include a header file called conio.h (#include <conio.h>). Now before return 0, type getch();. This will pause the program just like the system call but it is considered better syntax.

    Also, don't use the "using namespace std;". Whenever you type "cout", "endl", or "cin", you type "std::cout", "std::endl", and "std::cin". Again, you should always get used to writing beautiful code.

    Example:
    Why not use ''using namespace std;"?

    Code:
    #include <iostream>
    #include <conio.h>
    using namespace std;
    
    int main ()
    {
    	cout << "Poop" << endl;
    	getch();
    	return 0;
    }

  6. #16
    New member
    Join Date
    May 2013
    Posts
    7
    Rep Power
    0
    Quote Originally Posted by Afitz200 View Post
    Maybe Put some download links on where we can get tools for C++?
    Although good post. Thanks for sharing how to do this
    Do you mean a compiler like VS Microsoft - Visual Studio

  7. #17

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •