Results 1 to 10 of 10
  1. #1
    KiraSietta's Avatar
    Join Date
    Jun 2011
    Gender
    female
    Location
    Jacksonville
    Posts
    400
    Reputation
    18
    Thanks
    27
    My Mood
    Tired

    Hello World with source

    i dont think this has been posted before so here it goes

    Things you need:
    1.MVC++
    2.A brain
    3. an IQ over 60

    First things first:










    Code:
    #include <iostream>
    #include "conio.h"
    using namespace std; 
    
    
    void main(){
    	cout << "Hello World!" << endl;
    	_getch();
    
    
    }
    Note this is for noobs only

    ^--------he totally ripped on MPGH and topblast





  2. #2
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    void main() is not ansi compliant、Teaching noobs the wrong stuff:(

  3. #3
    KiraSietta's Avatar
    Join Date
    Jun 2011
    Gender
    female
    Location
    Jacksonville
    Posts
    400
    Reputation
    18
    Thanks
    27
    My Mood
    Tired
    Quote Originally Posted by Virtual Void View Post
    void main() is not ansi compliant、Teaching noobs the wrong stuff:(
    like i would teach the noobs the real way

    ^--------he totally ripped on MPGH and topblast





  4. #4
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Also, why are you using a namespace if you only use something from it only once.

    using namespace std;
    cout << "Hello World\n";

    std::cout << "Hello World\n";

    Which one seems shorter?


    also, why would you not teach the right way, because you do not know it yourself?

  5. The Following User Says Thank You to Auxilium For This Useful Post:

    Hell_Demon (07-15-2011)

  6. #5
    KiraSietta's Avatar
    Join Date
    Jun 2011
    Gender
    female
    Location
    Jacksonville
    Posts
    400
    Reputation
    18
    Thanks
    27
    My Mood
    Tired
    Quote Originally Posted by Virtual Void View Post
    Also, why are you using a namespace if you only use something from it only once.

    using namespace std;
    cout << "Hello World\n";

    std::cout << "Hello World\n";

    Which one seems shorter?


    also, why would you not teach the right way, because you do not know it yourself?
    because you cant learn c++ in a day im just dumbing it down

    and btw i know it its just a dumbed down version

    ^--------he totally ripped on MPGH and topblast





  7. #6
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Quote Originally Posted by KiraSietta View Post
    because you cant learn c++ in a day im just dumbing it down

    and btw i know it its just a dumbed down version
    what does not being able to learn in 1 day have to do with anything?

    Don't you think it would help if you explained why it works rather than leaving people in the dark copying and pasting.

    Giving a what may be a confusing explanation is over 9000 times better than letting somebody copy and paste without knowing what does what.

  8. The Following User Says Thank You to Auxilium For This Useful Post:

    Hell_Demon (07-15-2011)

  9. #7
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    where can i download "brain"?

  10. #8
    tdct's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    Somewhere
    Posts
    1,462
    Reputation
    105
    Thanks
    391
    My Mood
    Devilish
    Quote Originally Posted by Virtual Void View Post


    what does not being able to learn in 1 day have to do with anything?

    Don't you think it would help if you explained why it works rather than leaving people in the dark copying and pasting.

    Giving a what may be a confusing explanation is over 9000 times better than letting somebody copy and paste without knowing what does what.
    @Virtual Void Wow serious talk from the sarcastic person I've seen on this forum

  11. #9
    .::SCHiM::.'s Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    733
    Reputation
    180
    Thanks
    880
    My Mood
    Twisted
    Quote Originally Posted by tdct View Post


    @Virtual Void Wow serious talk from the sarcastic person I've seen on this forum
    But hi is right, void main(void) is just WRONG WRONG WRONG!

    It's something only VC++ allows and it's not a good thing if compilers start to implend their own interpretation of the ANSI standards. Although it's all the same to the os low level (int/void main) it's still wrong to do.

    @kibbles18

    I could upload mine for you
    Last edited by .::SCHiM::.; 07-15-2011 at 02:33 AM.

    I'm SCHiM

    Morals derive from the instinct to survive. Moral behavior is survival behavior above the individual level.

    Polymorphic engine
    Interprocess callback class
    SIN
    Infinite-precision arithmetic
    Hooking dynamic linkage
    (sloppy)Kernel mode Disassembler!!!

    Semi debugger




  12. #10
    Toxic Waltz's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    114
    Reputation
    14
    Thanks
    18
    Quote Originally Posted by KiraSietta View Post
    i dont think. this has been posted before so here it goes
    FTFY
    The message you have entered is too short. Please lengthen your message to at least 10 characters.

Similar Threads

  1. 32 Bit In-depth Hello World with Jumps
    By Shark23 in forum Assembly
    Replies: 0
    Last Post: 11-12-2010, 06:03 PM
  2. A closer look at Hello World App.
    By headsup in forum Java
    Replies: 5
    Last Post: 10-24-2009, 12:25 AM
  3. Help with source code! Easy fast scope bot!
    By Zoom in forum C++/C Programming
    Replies: 22
    Last Post: 08-21-2009, 09:06 PM
  4. 2 steam Accounts With Source Package
    By NabDab in forum Trade Accounts/Keys/Items
    Replies: 4
    Last Post: 02-12-2009, 09:11 AM
  5. [C++]Hello World; Your first C++ Program
    By Mr. Bond in forum Programming Tutorials
    Replies: 3
    Last Post: 02-09-2009, 08:53 AM