Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361719

Summary: Symbol 'cout' could not be resolved
Product: [Tools] CDT Reporter: Jarod <zxcvbnm2011>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: RESOLVED INVALID QA Contact: Doug Schaefer <cdtdoug>
Severity: normal    
Priority: P3    
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

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.