Ok I originally tried using a get function to get the info but that was all funky. So I tried using the extraction operator >> and it worked but only for the first line. Heres my current code:
...
Type: Posts; User: cuddlez.ini
Ok I originally tried using a get function to get the info but that was all funky. So I tried using the extraction operator >> and it worked but only for the first line. Heres my current code:
...
What I need to do is:
1. Define a class called Student, which includes ID, FirstName, LastName, and Email.
2. Write programs to read the records from the file, sort the records on ID, and output...
Well, that got rid of a lot of problems, thank you, guess I need to spend more time reading my book, and not trying to jump ahead.
I can't seem to resolve a syntax error, that is only occuring when I use a template with a pointer. Its just a basic linked list, here is the first part of my header file:
#ifndef LISTTEMP_H...
Could anybody point me in the direction of a good tutorial/example of composition being used. I am having some trouble implementing it in a project. Specifically, where it occurs within a class, the...
Thank you so much, that worked, and well lets just say I am very relieved. :D
Could someone please tell me why when I run this the output is only:
1
1
1
1
1
press any key to continue
I am using VC++ 6.0 and have run the debugger but this is all it says: