PDA

View Full Version : C++ Eclipse Java Error



Jas
05-07-2008, 03:41 AM
Hey everyone!

I've used C++ Eclipse before on Ubuntu and Windows XP, but I want/need it on Vista. The problem is, when I try to compile an application, I get the message:


Launch failed no binaries

Launching this test code:

#include <iostream>

int main(){
cout << "hello" << endl;
return 0;
}

Anyone know what's causing this problem and/or how to fix it? I have install JAVA JDK and Cygwin as well as C++ Eclpise on a Windows Vista OS.

Nile
05-07-2008, 11:45 AM
Try this:


#include <iostream>

int main()
{
std::cout << "hello" << std::endl;
return 0;
}

Jas
05-07-2008, 12:36 PM
Thanls, but it didn't work (But it does remind me that I forgot to use a namespace). I don't think the problem is the code-- I think that it is my configuration, but I don't know how to fix it.

Jas
05-10-2008, 11:53 PM
Anyone? I am anxious to get going again on C++.