Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361719 - Symbol 'cout' could not be resolved
Summary: Symbol 'cout' could not be resolved
Status: RESOLVED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-22 03:33 EDT by Jarod CLA
Modified: 2011-10-24 18:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jarod CLA 2011-10-22 03:33:06 EDT
Build Identifier: 20110916-0149

I love Eclipse, I used it for my java programming needs and now that ive started using C++ I thought, hey eclipse will do the job, but everytime I use cout it says it cannot be resolved, it happens to when I use 'cin' , Its very frustrating, does anyone have any idea on how to fix this problem? Heres my soure code:

#include <iostream>
using namespace std;
int main()
{
	cout<< "Hello World";
	return 0;
	
}

Just a simple Hello World program and it doesnt even work, any help? And sorry if I did anything wrong here, I'd hate to look like a noob

Reproducible: Always
Comment 1 Andrew Gvozdev CLA 2011-10-24 18:32:58 EDT
Your settings are probably incomplete, check if you specified the proper include paths in project properties, Paths and Symbols Includes.
Please, ask in user forum at Eclipse Community Forums http://www.eclipse.org/forums/ - Language IDEs - CDT. Bugzilla is not for user support, it is for issue tracking by CDT development team.