C program...dynamic linked list

This is a discussion on C program...dynamic linked list within the C Programming forums, part of the General Programming Boards category; I am studying C programming as a hobby and i have been trying to wright a C program that reads ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1

    Question Dynamic linked list...please help!!!

    I am studying C programming as a hobby and i have been trying to wright a C program that reads from a text file my name a a set of number:
    ie GBarreto
    03041980
    The program has than to generate a dynamic linked list sorting the numbers largest to smallest, where each node should contain a single integer.....

    I also would like to clarify another doubt....To write this text file wich will have my name and a set of numbers , do i just type it as a c format and save it with the extention filename.txt (cooments could be included for helping me understand)

    If you could be kind enough to clarify these doubts i would very much appreciate.
    Thank you very much for your time
    G Barreto
    Last edited by guigo; 11-13-2001 at 06:12 PM.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Just pull up a text editor. Type in a bunch of stuff, and save it.
    Or, for the fun of it, write a program to actually produce the output for this file.
    Once that's done, you have a good chunk of the code you need to reverse the process and read it.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Unknown memory leak with linked lists...
    By RaDeuX in forum C Programming
    Replies: 6
    Last Post: 12-07-2008, 04:09 AM
  2. Sorting linked list please help with CODE
    By scarlet00014 in forum C Programming
    Replies: 3
    Last Post: 09-28-2008, 12:24 AM
  3. Linked List Help
    By CJ7Mudrover in forum C Programming
    Replies: 9
    Last Post: 03-10-2004, 10:33 PM
  4. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 11:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21