Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing text files

Status
Not open for further replies.

Perceval

Technical User
May 6, 2002
5
US
Hi! I'm relatively new to this forum and it's been a while since i had the opportunity to program in C++. I'm using C++ Builder 5 and i was wondering if there was a way to import the content of a coma-delimited text file in a table. I've tried a lot of things, but i always get a "invalid table name" when i try to link to a text file. Thanks in advance for any answer...
 
If you look at thread101-66081 you'll see how I like to parse comma-delimited files. This is by no means the only way but is one I like. By using the strstream functions, I can break each line into parts. Once I have each part, I can put the parts into fields of the table fairly easily.

James P. Cottingham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top