• Log in or sign up for an account here: https://www.sythe.org/login

Dev-C++ help

  • Thread starter Thread starter Underground
  • Start date Start date
U

Underground

Guest
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:
 
err in that screenshot u have an extra bracket in there, thus being the highlighted one in blue. get rid of it.
 
Thanks but i got it working....now my problem is i dont know C++:/
 
haha well there are some good websites for learning c++, google c++ tutorials.
 
lets see i think iostream.h is a c library try

#include <iostream>
using namespace std;

because thats the c++ version i think
 
Runescape Gamblingrunescape gambling
Back
Top