Wrox Programmer Forums
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 20th, 2004, 02:36 PM
Authorized User
 
Join Date: Jan 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default c++ help

hi people..

how do i write C++ program file to extract fields from file?..

what does that mean.....extracting fields..!?

thankx

Reply With Quote
  #2 (permalink)  
Old December 21st, 2004, 10:04 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi ahmed,
every file has some records(every record has some fields) ...
for example take a look at this simple table,
Code:
ID   FirstName         LastName          Birthday
1     "John"            "Hart"             1985
2     "Bill"            "Gates"            1960
.
.
.  
as you see for example in Record1 in column FirstName you can find "John",
In generally this I told you is a general concept,for example in DataBases or in Files ....
Take a look at this example from MSDN,I think it could give you some idea.(that uses .NET classes but you can simply find their equivalent classes in C++).also for more samples try google,
HtH.
____________________________
Mehdi.
software engineering student.
Looking for a good job for summer 2005.
Reply With Quote









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.