Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-19-2003, 01:48 AM   #16
Registered: Aug 2003
Location: Suprisingly in Heaven
Posts: 223

Rep: Reputation: 33

Originally posted by bprasanth_20
sample print statement before calling list_destroy(new) in the main function. even that print statement is not executed. please
Hey did u put a "\n" at the end of print statement ???


printf("This is before list_destroy\n");
Then I suppose it should get printed
Old 10-20-2003, 03:38 AM   #17
Registered: Oct 2003
Posts: 42

Original Poster
Rep: Reputation: 15
hi i got the problem of destroying the list solved. just use free(&data) in place of free(data) in data_destroy function
Old 10-25-2003, 02:06 AM   #18
Registered: Oct 2003
Posts: 42

Original Poster
Rep: Reputation: 15
if u know a suitable program to input and display characters and strings into a list using the above program please help me


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
concepts a linked list program in c ssg14j Programming 4 08-19-2005 10:10 AM
C++ Linked List question lowpro2k3 Programming 3 06-16-2005 10:15 AM
linked list + c dilberim82 Programming 5 05-04-2005 11:48 PM
C program problem on delete duplicated nodes in linked list ! antony_csf Programming 2 10-28-2004 10:42 AM
Winxp linked to Linux Linked to home network OverboardKiller Linux - Networking 2 06-09-2003 09:59 AM

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration