create class

Hi,
I have a problem, I dont know how to import data into a single array and then output it to the screen. I am quite new to c++ and would approciate your help.
Here is information:

When a vehicle has been manufactured, it has the following attributes: make (e.g. \Ford"), model(e.g. \Focus"), a number of wheels and a weight in kilograms. In order to sell it, the vehicle must be registered by the DVLA, which allocates it a number plate consisting of seven alphanumeric characters and records the date on which it was registered and the name of the registered keeper.If the vehicle is to be used as a taxi, then, as well as vehicle registration, further taxi registration is required. It must be registered by the local authority, which allocates it a ten-digit taxi licence number.

vehicles.txt le. It contains details about a number of vehicles, some of which may be registered by the DVLA and some of which may also be registered as taxis.The denitions of the elds in each record of the le are described in the table below.

Broadly, I have started with classes. I am new to c++ and do not know how to read data from text file and output it to the screen by the format shown above. I would be very greatful if u help me to sort it out and show me the right pathway. P/S: The content of vehicle.txt is the same as the table above but without headings of columns.
What I have started:

well written object oriented approach to doing your assignent. the program will attempt to open a file, load the file into a vector, and display the information to the user. all you have to do is write a few simple function definitions.

So are you just typing characters randomly, or do you have a book on C++ that explains these fundamentals? I mean, defining a member function isn't exactly an obscure feature, it's among the most basic of basics when it comes to writing a class.

No, i dont have a C++ book, i know it is a basic staff)), but how to relate function declaration to function definition in case of inputting a text file like in my case? should I use pointers? could you explain briefly this to me, please?

We've done over 90% of the work for you... all we are asking for is a 10% effort on your part. I cannot ethically continue to work on this assignment without knowing that you will be turning in plagarized work.

Take it one step at a time. Do a little research on your own. Humor us... at least take a wild guess at how you would write the display() function.

The following pseudocode is based on the assumption that each line will hold exactly 8 pieces of data:

//in pseudocode
void Vechicle::get_line(ifstream& infile)
{
//read in the first word using the >> extraction operator and assign to 'make'
//read in the second word using the >> extraction operator and assign to 'model'
//read in the third word using the >> extraction operator and assign to 'wheels'
//read in the fourth word using the >> extraction operator and assign to 'weight'
//read in the fifth word using the >> extraction operator and assign to 'plate'
//read in the sixth word using the >> extraction operator and assign to 'registration_date'
//read in the seventh word using the >> extraction operator and assign to 'keeper'
//read in the eighth word using the >> extraction operator and assign to 'license'
}

all i ask is that you do this work on your own (i hope you are not going to others asking them how to translate this pseudo in efforts to get your homework done for example) which may be the case since you don't have a book and this is probably the only way you will get your homework done.