Having trouble with program
Hi, I am new to this group and would first like to say hello to everyone. I am having some major problems getting on track for a school project and I am at my wits end. I think the teacher goes out of his way to make our lives difficult. Basically I am just looking for some help here, some direction, maybe even some example code. I pretty much know what I need to do, but I am having alot of trouble translating it to code. Below are some links to the project specs and some very raw, very basic, and probabaly very wrong "scratch code" i am working on. If anyone can give me any help at all it would be GREATLY appreciated. Thanx for reading!
This is the proj spex:
The header file he gave us:
My current "scratch code":
These 2 links are for an example input file and an example output using the file:
We are using Pico in Unix to edit and G++ to compile if that helps in any way.
Again I would like to thank anyone in advance that tries to help.