Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Hello World not working
Hello World not working [message #1054225] Wed, 08 May 2013 08:33 Go to next message
Matt M is currently offline Matt M
Messages: 1
Registered: May 2013
Junior Member
Hello,my problem is that I made the basic HW program in Eclipse Juno for C/C++ and it's not working.It shows that the build was done but nothing is printed when I try to run it.The weird part is that I made a C application a few weeks ago and that worked,now I'm assigned a C++ application and the basic HelloWorld is not doing anything.What should I do?

#include <iostream>
using namespace std;

int main() {
	cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
	return 0;
}
Re: Hello World not working [message #1057780 is a reply to message #1054225] Wed, 08 May 2013 16:59 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3223
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/08/2013 07:05 AM, Matt M wrote:
> Hello,my problem is that I made the basic HW program in Eclipse Juno for
> C/C++ and it's not working.It shows that the build was done but nothing
> is printed when I try to run it.The weird part is that I made a C
> application a few weeks ago and that worked,now I'm assigned a C++
> application and the basic HelloWorld is not doing anything.What should I
> do?
>
> #include <iostream>
> using namespace std;
>
> int main() {
> cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
> return 0;
> }

Please ask in CDT forum.
Previous Topic:Cannot open eclipse
Next Topic:remote debugging in eclipse cdt from linux server using cygwin
Goto Forum:
  


Current Time: Fri Oct 24 08:02:44 GMT 2014

Powered by FUDForum. Page generated in 0.02149 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software