From owner-freebsd-questions@FreeBSD.ORG Sat Jan 24 16:14:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFFB916A4CF for ; Sat, 24 Jan 2004 16:14:35 -0800 (PST) Received: from taroboy.mine.nu (h24-81-108-44.vc.shawcable.net [24.81.108.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07F4C43D2D for ; Sat, 24 Jan 2004 16:14:33 -0800 (PST) (envelope-from ktdeeter@alumni.princeton.edu) Received: from localhost (unknown [10.0.0.10]) by taroboy.mine.nu (Postfix) with SMTP id 9B439B3FF4 for ; Sat, 24 Jan 2004 16:13:25 -0800 (PST) Date: Sat, 24 Jan 2004 16:13:49 -0800 From: Ken Deeter To: freebsd-questions@freebsd.org Message-Id: <20040124161349.6b662d62.ktdeeter@alumni.princeton.edu> In-Reply-To: <400BEE9A.6030801@potentialtech.com> References: <20040119035817.29863.qmail@web60901.mail.yahoo.com> <400BEE9A.6030801@potentialtech.com> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: New freebsd user here X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 00:14:35 -0000 Just a quick check. Make sure you do a #include and using namespace std; symbols like cout and endl are in the std namespace, so if you don't have the above statement, you have to say something like std::cout << "hello world" << std::endl; -Ken On Mon, 19 Jan 2004 09:50:02 -0500 Bill Moran wrote: > [redirected to questions@, which is more appropriate for this kind of > question] > > Hugh Krogh-Freeman wrote: > > Hello everyone. I just installed Free BSD 5.1 on my computer. I know > > C++ and > > C, but I am not able to get C++ to compile yet because it doesn't > > recognize cout and endl (I wrote a simple "hello world" program). I > > assume it's because I am not including the right library. > > That's the only reason I can think of. C++ programs have compiled > just fine any time I've tried them. Without the snippit of code, > however, it's hard to say for sure. > > > Do I need to login as a "root" everytime > > I want to shutdown? > > If you use KDE or Gnome as a window manager, they provide "shutdown" > buttons. Also, by default, CTL+ALT+DELETE is mapped to a controlled > (safe) shutdown(meaning it properly halts the OS before rebooting) If > neither of those methods are acceptable, you will have to be root, or > someone with sudo rights to shutdown (if you've installed sudo). > > > Also, I have windows and bsd on the same machine. Can > > anyone tell me a way of reinstalling just one of them in case I > > need to, rather than both of them? Thanks a million > > Just reinstall the one you want. If it's Windows, you'll need to > reinstall the FreeBSD boot manager after you've reinstalled Windows > (because Windows rebuilds your boot loader to its liking, without > asking you). Just make sure you use the correct partitions, etc. I > would definately back up everything before reinstalling either OS. > > -- > Bill Moran > Potential Technologies > http://www.potentialtech.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >