From owner-freebsd-hackers Fri Mar 28 10:14:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA24645 for hackers-outgoing; Fri, 28 Mar 1997 10:14:33 -0800 (PST) Received: from aries.bb.cc.wa.us (root@[208.8.136.11]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA24640 for ; Fri, 28 Mar 1997 10:14:31 -0800 (PST) Received: from localhost (chris@localhost) by aries.bb.cc.wa.us (8.8.3/8.6.9) with SMTP id KAA01645 for ; Fri, 28 Mar 1997 10:11:28 -0800 (PST) Date: Fri, 28 Mar 1997 10:11:28 -0800 (PST) From: Chris Coleman To: hackers@freebsd.org Subject: C++ Code Help Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am writing my first FreeBSD C++ program. :-) (I am not very good at C or C++) anyway, I have a few stupid questions. History: (I know I could have done it in perl, but for Hysterical reasons, it had to be in C++) I am automating our User Database. We get a list of paid users each quarter from our registrar. So I am taking this list and comparing it to the password database real name field and creating, disabling, or just reporting the users depending on whether they have paid for each quarter. So, My questions: I don't know how to convert integer numbers, such as "1500" to an ascii string. How do I rebuild the user database after I have made all the changes to master.password? That will do it for now. P.S. Anyone willing to give me a lesson in C++, in otherwords anyone want to review my code and tell me how stupid it is in nice words. :-) Christopher J. Coleman (chris@aries.bb.cc.wa.us) Computer Support Technician I (509)-766-8873 Big Bend Community College Internet Instructor FreeBSD Book Project: http://vinyl.quickweb.com/~chrisc/book.html Disclaimer: Even Though it has My Name on it, Doesn't mean I said it.