Search:

Type: Posts; User: bigzeppelin2k

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,208

    pointer to a pointer

    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...
  2. Replies
    1
    Views
    865

    list searching program

    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)
    {
    ...
  3. Replies
    1
    Views
    893

    string manipulation

    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...
  4. Replies
    3
    Views
    2,584

    Thanks. That almost did it. Only problem is I...

    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...
  5. Replies
    3
    Views
    2,584

    fgets, tokens

    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...
  6. Replies
    4
    Views
    1,843

    Well I picked up most of this code from a...

    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...
  7. Replies
    4
    Views
    1,843

    Problem with creating linked list

    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...
  8. Replies
    2
    Views
    1,213

    sorting data from file input

    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...
  9. Replies
    2
    Views
    2,996

    Thanks for the help Dave. That worked... just...

    Thanks for the help Dave. That worked... just what I wanted!
  10. Replies
    2
    Views
    2,996

    input validation - new to programming

    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...
Results 1 to 10 of 10