[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: g++ problem



On 2006-02-08T20:26:58-0500, Thomas H. George wrote:
> As a occasional programmer I tried to recompile an old program I 
> intended to expand.  Although #include <iostream> was entered before the 
> start of main the g++ compiler did not recognize cin and cout.

Add a "using namespace std;" or prefix each cin and cout with the
standard name space (i.e. std::cin).


/Allan

Attachment: signature.asc
Description: Digital signature


Reply to: