Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Tired to lost Time (Eclipse C++)(Trying to run the very complicated "Hello World" !)
Tired to lost Time (Eclipse C++) [message #1704946] Tue, 11 August 2015 02:19 Go to next message
jean-pierre Ortolland is currently offline jean-pierre OrtollandFriend
Messages: 3
Registered: October 2009
Junior Member
Hello
Yesterday I spent two hours trying to run eclipse and C ++,
without installer first, and then with the installer.
after one hour without the installer I arrived to operate the Builder,
but impossible to launch the run! (I later lost my configuration wanting to do
what was advocated in a forum post,(deleting the meta data).
I failed too with the installer(can't find the include, again).
what do you don't clearly gives the path that one must set,
and the entire configuration to simply run the "Hello world".
Why made you people waste so much time ?
Re: Tired to lost Time (Eclipse C++) [message #1705029 is a reply to message #1704946] Tue, 11 August 2015 13:59 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/10/2015 10:08 PM, jean-pierre Ortolland wrote:
> Hello
> Yesterday I spent two hours trying to run eclipse and C ++, without
> installer first, and then with the installer. after one hour without the
> installer I arrived to operate the Builder, but impossible to launch
> the run! (I later lost my configuration wanting to do what was advocated
> in a forum post,(deleting the meta data).
> I failed too with the installer(can't find the include, again).
> what do you don't clearly gives the path that one must set, and the
> entire configuration to simply run the "Hello world".
> Why made you people waste so much time ?

Checking the sticky posts at forum's top, which you did not do, I see
that C/C++ questions go to a special Eclipse CDT forum.

Second, there are numerous tutorials out there in Google land...
Suivez-en un, par exemple : https://www.youtube.com/watch?v=zl6RFAiQO8U

There's always help.

Bonne chance !
Re: Tired to lost Time (Eclipse C++) [message #1705068 is a reply to message #1705029] Tue, 11 August 2015 19:12 Go to previous messageGo to next message
jean-pierre Ortolland is currently offline jean-pierre OrtollandFriend
Messages: 3
Registered: October 2009
Junior Member
Thank you Russel Batman.
I think as my Eclipse is Mars the menu is not the same as in the video
now there is only a rapid message in the console window when I click run, but no "hello world" !
I have tried many menus and things without succes.
I'm gonna sleep now , this little code "hello world" exhausted me. Smile

Info: Nothing to build for HWX
20:49:12 **** Incremental Build of configuration Debug for project HWX ****
Info: Internal Builder is used for build
g++ -O0 -g3 -Wall -c -fmessage-length=0 -o "src\\HWX.o" "..\\src\\HWX.cpp"
g++ -o HWX.exe "src\\HWX.o"

20:49:13 Build Finished (took 823ms)

Info: Nothing to build for HWX
Info: Nothing to build for HWX
Info: Nothing to build for HWX
Info: Nothing to build for HWX
Info: Nothing to build for HWX
Info: Nothing to build for HWX
Info: Nothing to build for HWX

//============================================================================
// Name : HWX.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
using namespace std;

int main() {
	cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
	cin.get();
	//system("pause");
	return 0;
}
Re: Tired to lost Time (Eclipse C++) [message #1705070 is a reply to message #1705068] Tue, 11 August 2015 19:21 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/11/2015 01:12 PM, jean-pierre Ortolland wrote:
> Thank you Russel Batman.
> I think as my Eclipse is Mars the menu is not the same as in the video
> now there is only a rapid message in the console window when I click
> run, but no "hello world" !
> I have tried many menus and things without succes.
> I'm gonna sleep now , this little code "hello world" exhausted me. :)
>
> Info: Nothing to build for HWX
> 20:49:12 **** Incremental Build of configuration Debug for project HWX ****
> Info: Internal Builder is used for build
> g++ -O0 -g3 -Wall -c -fmessage-length=0 -o "src\\HWX.o"
> "..\\src\\HWX.cpp" g++ -o HWX.exe "src\\HWX.o"
> 20:49:13 Build Finished (took 823ms)
>
> Info: Nothing to build for HWX
> Info: Nothing to build for HWX
> Info: Nothing to build for HWX
> Info: Nothing to build for HWX
> Info: Nothing to build for HWX
> Info: Nothing to build for HWX
> Info: Nothing to build for HWX
>
> //============================================================================
>
> // Name : HWX.cpp
> // Author : // Version :
> // Copyright : Your copyright notice
> // Description : Hello World in C++, Ansi-style
> //============================================================================
>
>
> #include <iostream>
> using namespace std;
>
> int main() {
> cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
> cin.get();
> //system("pause");
> return 0;
> }

True, but Eclipse versions on most point do not diverge so much as to be
unrecognizable. There's no reason you could not download whatever
version the tutorial you wish to follow uses, but I had not seen until
now he was using Europa which is some 10 years old. Don't go there.

Maybe you could pick a newer one from

https://www.youtube.com/results?search_query=eclipse+c%2B%2B+tutorial+for+beginners

My point was that you are not alone and if you look around you'll find
some help. Also, don't neglect the Eclipse CDT forum.

Best of luck.
Re: Tired to lost Time (Eclipse C++) [message #1705187 is a reply to message #1705070] Wed, 12 August 2015 16:35 Go to previous messageGo to next message
jean-pierre Ortolland is currently offline jean-pierre OrtollandFriend
Messages: 3
Registered: October 2009
Junior Member
"Hello world"
is working at least!
under Windows 10 , and with Mars Eclipse.
I feel like Neils Armstrong when he did it first step on the moon ! Razz
I recommande this video for dummies like me. Embarrassed

Setting up Eclipse C/C++ IDE for Windows
Rassengan9966

this guy's great.

[Updated on: Wed, 12 August 2015 17:25] by Moderator

Report message to a moderator

Re: Tired to lost Time (Eclipse C++) [message #1705196 is a reply to message #1705187] Wed, 12 August 2015 17:31 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/12/2015 10:35 AM, jean-pierre Ortolland wrote:
> "Hello world" is working at least!
> under Windows 10 , and with Mars Eclipse.
> I feel like Neils Armstrong when he did it first step on the moon ! :p I
> recommande this video for dummies like me. :blush: this guy's great.

--et un bond géant pour Jean-Pierre.

Bonne continuation !
Previous Topic:Why Eclipse is not printing loops?
Next Topic:tomcat
Goto Forum:
  


Current Time: Thu Apr 25 14:56:36 GMT 2024

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

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

Back to the top