From: "Art Nouveau" Newsgroups: comp.os.msdos.djgpp Subject: Re: Error: no match for 'std::istream& > int&' operator Date: Fri, 23 Aug 2002 19:12:41 -0400 Lines: 61 Message-ID: References: X-Trace: UmFuZG9tSVb2Qkqq0aSmixZIQP0A38WSRHFqlteWPguNZjRxrg6WPE9ou6L8PEnw X-Complaints-To: abuse AT rcn DOT com NNTP-Posting-Date: 23 Aug 2002 23:13:03 GMT X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Also, the missing semicolons (;) at the end of lines 12 and 14 of the code are not missing in the real cpp file. ---------------- "Art Nouveau" wrote in message news:ak65jh$p0l$1 AT bob DOT news DOT rcn DOT net... > Another error in my first message. C:\DJGPP is not in the path. My > autoexec.bat follows: > > Rem TShoot: @PATH C:\PROGRA~1\WIN98RK;D:\PROGRA~1\WORD97\OFFICE;%PATH% > @PATH > C:\PROGRA~1\WIN98RK;D:\PROGRA~1\WORD97\OFFICE;%PATH%;c:\windows\command > @C:\PROGRA~1\NORTON~1\NORTON~1\NAVDX.EXE /startup > SET BLASTER=A220 I5 D1 T4 > Rem TShoot: SET PATH=%PATH%;C:\PROGRA~1\COMMON~1\MGISHA~1\VIDEO > SET > PATH=%PATH%;C:\PROGRA~1\COMMON~1\MGISHA~1\PROGRA~1\WIN98;D:\Utility\Winzip > SET PATH=%PATH%;C:\PROGRA~1\COMMON~1\MGISHA~1\VIDEO > deltree /y C:\windows\temp\*.* > deltree /y C:\temp\*.* > SET PATH=C:\DJGPP\BIN;%PATH% > SET DJGPP=C:\DJGPP\DJGPP.ENV > lh doskey > > Also I run rhide from a batch file in C:\DJGPP\BIN called c,bat as follows: > c: > cd\mydocu~1 > cd shepsw~1 > cd Cplus > rhide %1 > ----------------------- > "Art Nouveau" wrote in message news:... > > Please note that in line 1 of my program the # sign was left out of my > > e-mail but was not left out of the cpp file. > > > > I wrote: > > --------- > > > > "Art Nouveau" wrote in message news:... > > > 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. I am > > using > > > DJGPP in a RHID149 environment and followed all the instructions for > > setting > > > LFN=Y in DJGPP.ENV, SET DJGPP=C:\DJGPP\BIN in Autoexec.bat, FILES=55 in > > > config.sys (the only statement in config.sys). I am running in a DOS > > Window > > > under Windows 98-2nd Ed. Rhide was run from "My Documents\Cplus" folder > > with > > > C:\DJGPP;C:\DJGPP\BIN in the PATH. > > > > > > > >