U Underground Guest Jun 24, 2007 #1 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:
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:
S slashshot007 Active Member Joined May 6, 2006 Sythe Gold 0 Messages 164 Jun 24, 2007 #2 err in that screenshot u have an extra bracket in there, thus being the highlighted one in blue. get rid of it.
err in that screenshot u have an extra bracket in there, thus being the highlighted one in blue. get rid of it.
U Underground Guest Jun 25, 2007 #5 Thanks but i got it working....now my problem is i dont know C++:/
E eagles358 Guest Jul 4, 2007 #6 haha well there are some good websites for learning c++, google c++ tutorials.
The End Forum Addict Joined Dec 10, 2005 Sythe Gold 0 Messages 397 Age 37 Location the 7th level of bliss and joy Jul 4, 2007 #7 lets see i think iostream.h is a c library try #include <iostream> using namespace std; because thats the c++ version i think
lets see i think iostream.h is a c library try #include <iostream> using namespace std; because thats the c++ version i think