Message-ID: <3740A92F.B1C95A29@unb.ca> Date: Mon, 17 May 1999 19:41:35 -0400 From: Endlisnis X-Mailer: Mozilla 4.51 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Subject: Re: i think its something to do with iostream?? References: <199905170510 DOT RAA16819 AT rachel DOT paradise DOT net DOT nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Info: BrunNet, Inc. 888-278-6638 Reply-To: djgpp AT delorie DOT com David McGrath wrote: > im just new to c++ and im having a rather frustrating problem that the faq > didnt seem to cover: > ------------------------------------------------------------------------------ > Name: result.bmp > result.bmp Type: BMP (image/x-bmp) > Encoding: base64 > Description: result (Bitmap Image) First of all, don't post images on this newsgroup. If you wanted to show us what the compiler outputed, you can click the upper-left hand corner, select "Edit" then "Mark" and cover the entire screen and hit enter. Then the text will be in the clipboard. 2nd, if you were going to send an image, for-god's-sake, compress it. There are 2 problems with your code: 1, your using the wrong compiler, use gxx not gcc. 2nd, C++ files have .cc as an extention, not ".c" Also, when you use cout to print the instructions to input numbers, you'll need to flush the output buffer before you'll see it. -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT HotMail DOT com ICQ: 32959047