Inserting element to a list of list in C
I have a code which look like this,
Code:
struct list1 { Code:
struct list2 * list_insert (struct list2 *new, struct list1 *input) { Any help will be very appreciated |
Re: Inserting element to a list of list in C
Quote:
One question, did you possibly mean to use `test' inside that block? If you did, that makes more sense. You will need to dynamically allocate it though, using malloc(3). |
Thanks, I found the error, which is as what you said.
|
All times are GMT -5. The time now is 07:46 AM. |