Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Getting Started (New to CDT)
Getting Started [message #997966] Tue, 08 January 2013 23:53 Go to next message
Eclipse UserFriend
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 09:07 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 06:16:07 EDT 2025

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

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

Back to the top