I need help in understanding some example code. If you want to delete the last node of the list L, why does the parameter have to be a pointer to a variable containing a node pointer? In other words...
Type: Posts; User: bigzeppelin2k
I need help in understanding some example code. If you want to delete the last node of the list L, why does the parameter have to be a pointer to a variable containing a node pointer? In other words...
What is wrong with the following search program for finding the node on List L, containing the airport code A and returning a pointer to it?
NodeType *FindNode(char *A, NodeType *L)
{
...
I'm looking for a small piece of code or a function that takes a string as input and removes all characters other than letters and digits from that, and presents the result as output. It's a couple...
Thanks. That almost did it. Only problem is I still see the first bird repeated continuously. I have about 70 different bird names in my file, each on a new line, but I see the name of the first...
I am working on a simple function to take input from a file, and display the input on screen using fgets. The input file consists of names of birds. Each bird name has two words, such as "Cedar...
Well I picked up most of this code from a textbook and it was working fine there. I'm a newbie to C so you might have to clarify this. I havent implemented files yet so how can I use fgets instead...
I am working on a program to create a simple customer database that stores customer names and their SSNs. The program should allow the user to add records, delete, print, and search.
I just created...
I am a newbie to C and I was wondering if someone has a small piece of code I could use to sort the following file input. I have made a small file with 11 social security numbers and I need these to...
Thanks for the help Dave. That worked... just what I wanted!
I am working on a program which requires a lot of simple input validation. Basically I ask several questions to which the user must input either 1, 2, or 3. Any input that is other than this will...