Skip to main content


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 MFriend
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 BatemanFriend
Messages: 3798
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 Mar 29 13:48:03 GMT 2024

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

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

Back to the top