Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Getting Started (New to CDT)
Getting Started [message #997966] Wed, 09 January 2013 04:53 Go to next message
Nirav Shah is currently offline Nirav ShahFriend
Messages: 1
Registered: January 2013
Junior Member
Hi I am new to using C++ in Eclipse.. I installed the CDT release in Eclipse..

I opened the Helloworld applicaition

//============================================================================
// Name : Hellow.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!!!
return 0;
}


I have installed the Mingw-get with the latest updates. I am getting the following errors

Description Resource Path Location Type
Symbol 'std' could not be resolved Hellow.cpp /Hellow/src line 10 Semantic Error
Symbol 'cout' could not be resolved Hellow.cpp /Hellow/src line 13 Semantic Error
Symbol 'endl' could not be resolved Hellow.cpp /Hellow/src line 13 Semantic Error
Program "gcc" not found in PATH Hellow [Discovery Options] page in project properties C/C++ Problem
Program "g++" not found in PATH Hellow [Discovery Options] page in project properties C/C++ Problem



CAN ANY ONE POST ANY USEFUL LINK WITH INSTRUCTIONS TO COMPILE AND RUN THE BASIC PROJECT.. I ALSO DO NOT KNOW HOW TO CREATE A MAKE FILE
Re: Getting Started [message #998179 is a reply to message #997966] Wed, 09 January 2013 14:07 Go to previous message
Jayanth D is currently offline Jayanth DFriend
Messages: 16
Registered: December 2012
Junior Member
Did you select GNU GCC Compiler as the tool while creating the project?
Previous Topic:C++11 Inferring "auto" type fails for "vector"
Next Topic:Using CDT's Abstract Syntax Tree to write code?
Goto Forum:
  


Current Time: Sat Dec 20 12:29:16 GMT 2014

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

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