Help To Beginner!

This is a discussion on Help To Beginner! within the Windows Programming forums, part of the Platform Specific Boards category; I tried to compile first simple program with MS-Visual C++ and it returned me 2 errors. Please write me to:hack3rs@centrum.cz ...

  1. #1
    Unregistered
    Guest

    Angry Help To Beginner!

    I tried to compile first simple program with MS-Visual C++ and it returned me 2 errors.
    Please write me to:hack3rs@centrum.cz
    thanx

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Well the errors were obviously in the fredeshay.

    How do you expect us to fix the errors without the code. Nobody's gonna e-mail you just so you email them back the bad code - that's what the message board's for.

  3. #3
    Crash
    Guest
    I tried to compile this code:

    #include <windows.h>

    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
    MessageBox (NULL, "Hello World" , "Hello", 0);
    return 0;
    }

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    81
    It compiles fine for me, make sure your trying to compile it as a windows program and not a console program. So check the settings on your compiler. I use borlands so i'm not sure how VC++ works.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please Help Me with this beginner C++ Program!
    By ClearSights in forum C++ Programming
    Replies: 7
    Last Post: 09-24-2008, 10:22 AM
  2. Same old beginner question...
    By Sharmz in forum C Programming
    Replies: 15
    Last Post: 08-04-2008, 11:48 AM
  3. What are some good beginner programs I shouold make?
    By oobootsy1 in forum C# Programming
    Replies: 6
    Last Post: 08-09-2005, 02:02 PM
  4. Windows programming for beginner (Absolute beginner)
    By WDT in forum Windows Programming
    Replies: 4
    Last Post: 01-06-2004, 10:21 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21