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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linked List

Status
Not open for further replies.

OOzy

Programmer
Jul 24, 2000
135
SA
Can anyone help me?

I am new to C++ and I need to do the following:

create struct
create text file
open text file
read a string (; separated)
slice into array
create linked list
put the read data into the list

I started with the struct as follows:

struct HB_field{
char HB_fname[25];
char HB_type[2];
int HB_size;
bool HB_null;
bool HB_index;
char HB_default;
};

Any help is highly appreciated.
 
create struct - what for? in the heap, on stack or what else?
create text file - where is the created file contents?
open text file - created before?..
read a string (; separated) - what's separated element?
slice into array - slice what? and what for?
create linked list - linked list of unknown nodes?
put the read data into the list - we can't see this data declarations...
And so on...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top