Dev-C++ help

Discussion in 'Programming General' started by Underground, Jun 24, 2007.

Dev-C++ help
  1. Unread #1 - Jun 24, 2007 at 2:15 AM
  2. Underground
    Referrals:
    0

    Underground Guest

    Dev-C++ help

    ok i have
    Code:
    #include <iostream.h>
    #include <stdlib.h>
    
    int main()
    {
    
    cout << "Hello, Matey!\n";
    system("PAUSE");
    return 0;
    }
    But when i try to run it gives me a warning saying "source file not compiled", and i dont know how to compile it.

    Screenshot: [​IMG]
     
  3. Unread #2 - Jun 24, 2007 at 11:54 AM
  4. slashshot007
    Joined:
    May 6, 2006
    Posts:
    164
    Referrals:
    0
    Sythe Gold:
    0

    slashshot007 Active Member

    Dev-C++ help

    err in that screenshot u have an extra bracket in there, thus being the highlighted one in blue. get rid of it.
     
  5. Unread #3 - Jun 24, 2007 at 4:09 PM
  6. eagles358
    Referrals:
    0

    eagles358 Guest

    Dev-C++ help

    execute -> compile

    or ctrl+F9
     
  7. Unread #4 - Jun 24, 2007 at 4:10 PM
  8. eagles358
    Referrals:
    0

    eagles358 Guest

    Dev-C++ help

    and it will probably give you an error, delete the bracket
     
  9. Unread #5 - Jun 25, 2007 at 9:39 PM
  10. Underground
    Referrals:
    0

    Underground Guest

    Dev-C++ help

    Thanks but i got it working....now my problem is i dont know C++:/
     
  11. Unread #6 - Jul 4, 2007 at 11:49 AM
  12. eagles358
    Referrals:
    0

    eagles358 Guest

    Dev-C++ help

    haha well there are some good websites for learning c++, google c++ tutorials.
     
  13. Unread #7 - Jul 4, 2007 at 1:28 PM
  14. The End
    Joined:
    Dec 10, 2005
    Posts:
    397
    Referrals:
    0
    Sythe Gold:
    0

    The End Forum Addict

    Dev-C++ help

    lets see i think iostream.h is a c library try

    #include <iostream>
    using namespace std;

    because thats the c++ version i think
     
< Celsius and fahrenheit converter. | How do I load RuneScape? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site