Menu

Help Pls: FATAL error...

Xethoria
2003-05-09
2012-09-26
  • Xethoria

    Xethoria - 2003-05-09

    I'm very new to Dev-C++, and whenever I write a simple program e.g. "hello world", or even use the build in "Hello World" examples it spews out:

    Fatal: 'all-before' does not exist - don't know how to make it

    It doesn't make sense (well not to me anyway). Anyone who can help?

    The "hello world" example's code is below:

    #include <iostream>

    using namespace std;

    int main (int argc, char *argv[])
    {
      cout << "Hello World!" << endl;
      cout << "Press ENTER to continue..." << endl;
      cin.get();
      return 0;
    }

    Oh and this is version 4.9.8.0

     
    • Anonymous

      Anonymous - 2003-07-25

      Try this below:

      #include <iostream>
      using namespace std;

      int main ()
      {
      cout << "Hello World!" << endl;
      cout << "Press ENTER to continue..." << endl;
      system("pause");
      return 0;
      }

      Btw, you put arguments into
      int main (" int argc, char *argv[] ")
      means you want to execute the script by command line.

       
    • Wayne Keen

      Wayne Keen - 2003-07-25

      "Fatal: 'all-before' does not exist"

      This is a somewhat common uncommon error.  The most common cause of this is that you have a Borland compiler in your path...Builder or Delphi, and the make being used is from that product and not from MingW/GCC.

      Check your path and eliminate references to the Borland product...

      Wayne

       
    • Wayne Keen

      Wayne Keen - 2003-07-25

      When you have by the way a distinctive error message like

      all-before

      I recommend your first stop be the search box to search the Bloodshed forum (there are many more posts over there).  Search box is in the upper left of the web page, button labeled search..

      I know there is plenty to find over there as I have worked with a goodly number of folks on this issue...

      Wayne

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.