Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Can not work out how this IDE functions?! Can not t I compile super simple stuff.
Can not work out how this IDE functions?! Can not t I compile super simple stuff. [message #870048] Sat, 05 May 2012 21:46 Go to next message
Eclipse UserFriend
Hi there... I am lookign at eclipse as I saw it mentioend a lot on forums when people as about great IDEs and from the little I have seen it looks good.

But I can nto get it to work at all...

#include <iostream>

int main()
{
	std::cout<<"This is a test"<<std::endl;
	
	std::cin.get();
	return 0;
}


Ths is the code I am testing... but it will not compile...

Quote:
Description Resource Path Location Type
Method 'get' could not be resolved main.cpp /Test line 7 Semantic Error
Symbol 'cin' could not be resolved main.cpp /Test line 7 Semantic Error
Symbol 'cout' could not be resolved main.cpp /Test line 5 Semantic Error
Symbol 'endl' could not be resolved main.cpp /Test line 5 Semantic Error



Any ideas?

[Updated on: Sat, 05 May 2012 21:46] by Moderator

Re: Can not work out how this IDE functions?! Can not t I compile super simple stuff. [message #870069 is a reply to message #870048] Sun, 06 May 2012 01:56 Go to previous messageGo to next message
Eclipse UserFriend
seasm I got this working... I just selected the hallowworld project and then editied it... not sure what running an empty project failed.
Re: Can not work out how this IDE functions?! Can not t I compile super simple stuff. [message #871159 is a reply to message #870069] Fri, 11 May 2012 04:00 Go to previous message
Eclipse UserFriend
Open the project's Properties window.
Go to C/C++ General -> Paths and Symbols -> tab Includes.
The path to the standard libraries must be listed.
Previous Topic:Why is it so difficult to get C++ to work?
Next Topic:Problems w/ Debug Configs, Attach to Application
Goto Forum:
  


Current Time: Sun Jun 22 11:43:29 EDT 2025

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

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

Back to the top