LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

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

Rep: Reputation: 32

Quote:
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 ???

i.e,

Code:
printf("This is before list_destroy\n");
Then I suppose it should get printed
 
Old 10-20-2003, 04:38 AM   #17
bprasanth_20
Member
 
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, 03:06 AM   #18
bprasanth_20
Member
 
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
 
  


Reply


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 11:10 AM
C++ Linked List question lowpro2k3 Programming 3 06-16-2005 11:15 AM
linked list + c dilberim82 Programming 5 05-05-2005 12:48 AM
C program problem on delete duplicated nodes in linked list ! antony_csf Programming 2 10-28-2004 11:42 AM
Winxp linked to Linux Linked to home network OverboardKiller Linux - Networking 2 06-09-2003 10:59 AM


All times are GMT -5. The time now is 12:33 AM.

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