Help with compiling

This is a discussion on Help with compiling within the C++ Programming forums, part of the General Programming Boards category; Can someone pleaze help me!! I am new at this so maybe this is easy. When I compile my project, ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    4

    Unhappy Help with compiling

    Can someone pleaze help me!!
    I am new at this so maybe this is easy. When I compile my project, I am using Bloodshed's c++ compiler, it will say 0 errors and however big the file is. Then I click execute program the window minimizes and then maximises. WHAT IN THE WORLD AM I DOING WRONG!!!!!

  2. #2
    Registered User ProgrammingDlux's Avatar
    Join Date
    Jan 2002
    Posts
    86
    I think i had the same problem when i was new...frustrating right?? I have bloodshed too.. u need two things

    #include<stdlib.h> (1
    {
    //code is
    // here

    system("PAUSE"); (2 <this goes before return 0;
    return 0;
    }
    "For in fact what is a man in Nature? A Nothing in comparison with the Infinite, an All in comparison with the Nothing, a mean between nothing and everything"- Blaise Pascal

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie Compiling Problem
    By Deronius in forum C++ Programming
    Replies: 3
    Last Post: 06-15-2008, 11:23 AM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. Compiling
    By Dae in forum C++ Programming
    Replies: 7
    Last Post: 06-15-2005, 01:08 AM
  4. compiling and executing issue with lcc win32
    By GanglyLamb in forum C Programming
    Replies: 10
    Last Post: 12-22-2004, 01:24 PM
  5. Compiling syntax
    By Jez_Master in forum C++ Programming
    Replies: 3
    Last Post: 04-01-2002, 08:46 PM

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