Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » A beginner question(Need help running a C++ program without a class)
A beginner question [message #1740656] Tue, 16 August 2016 17:07 Go to next message
akshay chavan is currently offline akshay chavanFriend
Messages: 4
Registered: August 2016
Junior Member
Hi,
I am a beginner to C++. Just recently I installed Eclipse IDE for C/C++ developers version 4.6.0 Neon. I also installed MinGW properly.

However I am stuck on my first program itself. The code is given below:


#include <iostream>
using namespace std;
int main()
{
cout << "C++ is better than C.\n";
return 0;
}


Can someone tell me the instructions to build and run this program in Eclipse? I have been stuck on it for the last two weeks! Thanks in advance!
Re: A beginner question [message #1740661 is a reply to message #1740656] Tue, 16 August 2016 20:01 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Open your Eclipse, Help -> Help contents -> C/C++ Development User Guide,
and read it. Follow the instructions in the part 'Before you begin', if you have not done so.


--

Tauno Voipio
Re: A beginner question [message #1740743 is a reply to message #1740661] Thu, 18 August 2016 04:23 Go to previous message
akshay chavan is currently offline akshay chavanFriend
Messages: 4
Registered: August 2016
Junior Member
Tauno Voipio wrote on Tue, 16 August 2016 20:01
Open your Eclipse, Help -> Help contents -> C/C++ Development User Guide,
and read it. Follow the instructions in the part 'Before you begin', if you have not done so.


Thank you! I was not aware of the 'Help' user guide. It solved my problem. Smile
Previous Topic:Tabs Changing Back By Themselves?
Next Topic:Fails to clear console before build
Goto Forum:
  


Current Time: Fri Apr 26 18:40:48 GMT 2024

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

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

Back to the top