aspose file tools*
The moose likes C / C++ and the fly likes malloc undeclared error in simple linked list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "malloc undeclared error in simple linked list" Watch "malloc undeclared error in simple linked list" New topic
Author

malloc undeclared error in simple linked list

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 931
hello,
i am trying to create a simple linked list, but i m getting one error there, below is my code:


Error is:
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 931
actually i wan not including the library file #include<stdlib.h>, therefore the error was.
but now i have included and the error is gone, but one got more error..
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 931
okay....
solved...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: malloc undeclared error in simple linked list
 
Similar Threads
Local call involves pass-by-reference
not able to call my header file
C2143 error and I can't find it
Accurately detecting 64 bit Windows architecture
fgets and fscanf