Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Hi i posted this problem before but i didn't explain myself very well. My main problem is that i need to read two seperate files into a data store they are set out like this: Jeff Jones 19 male single I need to treat each line seperartly so ideally i would store them into seperate stores, but i have thought of using an array but i can't get either idea to work as i can't find any examples that do this if any could knows anything that would help please reply|| cheers kelly bye the way sorry about the fact i know hardly anything i am new to all this!!!!
Name: Don Arnett Date: May 9, 2002 at 21:36:47 Pacific
Reply:
Sounds easy enough, except that I'm not sure what you mean be a 'data store'. By 'data store' are you speaking about variables (ie character arrays, integer variables etc)? Or by data store are you talking about a database.
Also, you say that you need to read two seperate files? Do both files have the format of your example?
This sounds like a pretty easy thing to do with a listbox. I'm not sure how to do that in Visual C++, but in Borland Builder C++ there's a listbox method that will read a file into the listbox. All you gotta do is supply the name (and path) of the file, and it will do all the hard work for you.
Summary: ============================================================ Micah, To answer question/comment 1: I program in C/C++/Visual C++, Pascal/Delphi, BASIC/Visual Basic, Assembly, Cobol (it's been a while...
Summary: I have developed a C program using Microsoft Visual C++,Version 1, which, when run provides a variety of screen messages of different background and foreground colours. The EXE file is defined to be M...