|
|
|
#1 (permalink) | |||||||||||||
|
Intel Overclocker
|
Never mind, due time is here and I am over it, thanks anyway.
__________________
"One definition of insanity is to keep doing things the same way and expecting different results." ~ Stephen R. Covey ![]() "Education is what you get when you read the fine print; experience is what you get when you don't." ~ Pete Seeger ![]() PSN ID: Dan-K-Nugs
Last edited by bioniccrackmonk : 07-01-08 at 10:01 PM. |
|||||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
Kernel Sanders
|
It's hard to read the way you posted it. Use [ code][/code] tags to keep the formatting, separate the files, and post the contents of myheader.h and I can help you better.
From a quick look, though, I see a few problems. buildList() is hardcoded to return 0 even though it supposedly returns a NODE *. It also never uses fileID. insertNode() makes a node, but it is not inserted into the list anywhere. It seems that the data is char data, but it is getting printed as an int with 3 places shown. Warnings can be a good way to catch errors. If you compile with "gcc -ansi -W -Wall -c *.c" you can enable warnings.
|
|||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|