+ Reply to Thread
Results 1 to 10 of 12

Threaded View

  1. #1
    Join Date
    Aug 2009
    Location
    in the pyramids lol
    Posts
    366
    Points
    448,808.16
    Rep Power
    196

    Default Re: SonniE's C++ Tutorial

    is that a tutorial? O_O' lol , can u plz explain what is the ''#include <iostream>'' & "system("pause");" & "int main()" & "/ *" ? and where to add these lines?



    GiVE ME AN iNTERNET ^
    hack facebook

  2. #2
    Join Date
    Oct 2009
    Posts
    120
    Points
    890,696.69
    Rep Power
    194

    Default Re: SonniE's C++ Tutorial

    Quote Originally Posted by bad00boy View Post
    is that a tutorial? O_O' lol , can u plz explain what is the ''#include <iostream>'' & "system("pause");" & "int main()" & "/ *" ? and where to add these lines?
    #include:

    Includes a file from the library into the program when you compile it.

    system("pause");

    Performs the system call "pause" which makes the text "Press any key to continue . . . " and will make the user press any key to continue on. Used to pause the program (Hints the name)

    int main()

    Shows that we are in are main function.

    / *

    Are for division and multiplication. + = add - = subtract * = mulitply and / = divide. (Check my Calculator example for more info on this)

    ;)

+ Reply to Thread

Posting Permissions

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