Singly Linked List - help with error

Hey all. I have worked on this in a previous post, but because of the huge difference in work needed, i have reposted it here.

First off, i created a project that would input data from keyboard of a student, this student had name,ssn,dob,school id information that was needed. After inputting this data, you could add classes for this singly student... into an array of objects that included (course name, course semester, course year, and course grade). having done this with a basic array, i had set the array to be size 10 (very limiting if student has, say 11 classes!). Sooo..

For our second project we have to do a linked list of the course objects. Therefore, we can add classes to a single student for as long as we have the memory to store it all!

Here is an error i am getting in my class definition for the student (declaring a linked list):

The above post is a big mistake. I was referencing the incorrect singlylinkedlist.h file when trying to compile. the file i was using at the time had no class definition...obvious mistake there! i will upload the new / updated singlylinkedlist.h file here.

Hey guys - thanks a ton for all the help so far. Im getting there, at least so i think.

My next question concerns my input. I have to read in from a file and create the student object, and set the students class list all from a given text file. I have done this (at least the namessn,dob,gender, etc) in the cxase 0 of my driver.cpp file.

My problem is that i unsure how to read my class list - i think a while loop like this would work:

while (inFile)
{
//read in class info (courseName, courseYear, courseSemester, courseGrade)
// be able to read in as many as needed - and add them to the linked list set up in Student.h
}

But how would i this work? I would have to create a new node at the start of the loop, and then i would send a function each value... but would i still be using my setSemester etc methods? Because i will now be using my linked list...

Alright guys - i have figured out my last question, and as always have come across a myriad of other things i am unsure of. First off, i am getting a couple of errors i am unsure to their meaning:

(this is a warning, not an error, but need to get it rid of anyway):
Student.h:14, from driver.cpp In file included from Student.h:14, from driver.cpp
\SinglyLinkedList.h [Warning] no newline at end of file

And here are my other errors ... i hope someone can understand what i am TRYING to do, and what my variable and stuff are:

47: SinglyLinkedList.h there are no arguments to `addToHead' that depend on a template parameter, so a declaration of `addToHead' must be available
47 SinglyLinkedList.h (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
SinglyLinkedList.h In member function `nodeSLL<ItemType>* SinglyLinkedList<ItemType>::r_deleteNode(const ItemType&, nodeSLL<ItemType>*)':
83 SinglyLinkedList.h expected primary-expression before '*' token
83 SinglyLinkedList.h `next' undeclared (first use this function)

At the present time, i have worked on the following:

In driver.cpp:
I have worked on getting a case 0 so that i can read in from a text file (i will post this file with all data in it here). I have been able to read in and print the correct student name, ssn, etc. But i was hoping i could get input as to the way i did the classID, semester, grade, year, etc.
Case 0:
- i hope that you can see what i am doing by calling the addCourse() function, which i want to send a CourseInfo object to, this function will then call, addToHead() passing it the object, which will add the CourseInfo object to the head of my linked list. Is this possible do you think in what i have tried?

I appreciate all the help you can give me, and i hope you understand what i am trying to do!

- Please know you will have to change the location of my .txt file in the driver.cpp to your needs - as it curently lists my directory information.

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...