From owner-freebsd-questions Tue Jan 5 09:18:01 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08750 for freebsd-questions-outgoing; Tue, 5 Jan 1999 09:18:01 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from d132-h017.rh.rit.edu (d132-h017.rh.rit.edu [129.21.132.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA08745 for ; Tue, 5 Jan 1999 09:18:00 -0800 (PST) (envelope-from vega@d132-h017.rh.rit.edu) Received: from localhost (vega@localhost) by d132-h017.rh.rit.edu (8.9.1/8.8.8) with ESMTP id MAA12335; Tue, 5 Jan 1999 12:12:05 -0500 (EST) (envelope-from vega@d132-h017.rh.rit.edu) Date: Tue, 5 Jan 1999 12:12:05 -0500 (EST) From: VEGA To: Nelson Yu cc: freebsd-questions@FreeBSD.ORG Subject: Re: Compiling C++ In-Reply-To: <19990105171529.9801.rocketmail@send105.yahoomail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 5 Jan 1999, Nelson Yu wrote: > Hello, > > I have FreeBSD and I could not compile C++ programs using gcc, > whenever I use cout or cin I get error messages but changing to printf > is fine, I've included already. try g++ > > How can I do a warm reset instead of pressing Ctrl-Alt-Del at the > prompt? 'shutdown -r now' is most likely what you are looking for. can only be done as root (for obvious reasons) >What's the command to unmount CD-Rom? umount /cdrom (or whereever you mounted the it. note that it is 'umount' and not 'unmount') > > I have a Panasonic 24X IDE CD-Rom and Asus P2L97 motherboard and it > doesn't boot from the FreeBSD 2.2.6 CD-Rom. are you making sure yours BIOS is booting from the cdrom drive first? > > Nelson > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message