From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Error: no match for 'std::istream& > int&' operator Date: 25 Aug 2002 16:02:02 GMT Organization: Aachen University of Technology (RWTH) Lines: 19 Message-ID: References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1030291322 10752 137.226.32.75 (25 Aug 2002 16:02:02 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 25 Aug 2002 16:02:02 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Art Nouveau wrote: > I am just starting to learn C++ but can't seem to compile and run my first > program. I get the subject error at "cin > nCelsius " at line 9. No susprise at all -- that's just a pretty obvious typo. Make that cin >> nCelsius; and you should be in business. > include > #include You should usually try to avoid using both the traditional C and C++'s replacement of it, , in the same source. It'll cause nothing but confusion. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.