🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: att.lang.c++
Article #230

I need help with data types - ie. read in test names from a file

#230
From: eddie
Date: Sun, 01 Nov 1998 00:00
9 lines
902 bytes
What is the best way to read in first and last names from a file.

Whenever I use fin or fin.getline, it reads in "" (no characters)????

I need to send the names to a hash for storage and if someone was
to try and search for a name, the hash should give me the location of
the name.  Any help would be appreciated.

eddie@onesix.dyn.ml.org
Technical Details
Message-ID: <364525da.104363091@news-server.hawaii.rr.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d4ba,db734e57ae025e81,start
X-Google-Attributes: gid10d4ba,public
From: eddie@onesix.dyn.ml.org (eddie)
Subject: I need help with data types - ie. read in test names from a file
Date: 1998/11/01
Message-ID: <364525da.104363091@news-server.hawaii.rr.com>
X-Deja-AN: 408343692
X-NNTP-Posting-Host: 204.210.96.14
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Trace: 4 Nov 1998 06:23:14 -0800, 204.210.96.14
MIME-Version: 1.0
Newsgroups: att.lang.c++