Thread: C program...dynamic linked list

  1. #1
    Registered User
    Join Date
    Nov 2001

    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
    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
    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.

    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-27-2008, 11:24 PM
  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, 10:21 PM