This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 979
    
    2
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: 979
    
    2
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: 979
    
    2
okay....
solved...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: malloc undeclared error in simple linked list
 
Similar Threads
not able to call my header file
Accurately detecting 64 bit Windows architecture
fgets and fscanf
C2143 error and I can't find it
Local call involves pass-by-reference