Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help whit C++ Hello World

    #include "stdafx.h"


    #include <iostream>

    using namespace std;

    int main()
    {

    cout << "Hello world!";
    cin.get() ;
    return O;
    }




    I Always fail at programming HEllo world..

  • #2
    New to the CF scene
    Join Date
    Mar 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here you go
    Code:
    #include <iostream>
    using namespace std;
    
    int main()
    {
    cout << "Hello world!\n";
    cin.get();
    }
    Try to create an empty win32 project, and make a new class under header and enter what I wrote, it should work


  •  

    Posting Permissions

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