User profile: AndyMc

User info
User name:AndyMc
Old user name:Macca
History
Joined:
Number of posts:6
Latest posts:

Problem. Bubble sort in a linked list.
Where are curr and first declared and defined? You could be dereferencing a null pointer if they ar...

Quiz Averages
Remove: [code] double average[SIZE] = (quiz1+quiz2+quiz3+quiz4)/4; [/code] and before outputting t...

Unintialized local variable? what
Initialise tots to zero before using it: [code] int FindTotal() { int tots = 0; for (int i = ...

function help
"char * const c" and "int index" are the parameters for this function. They need to be passed into t...

Problem with 3 lines of code, a simple problem?
If head is NULL, you need to create a new node first. [code] if (head == NULL) { ...