File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Languages » C / C++
Reply 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: 902
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: 902
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: 902
okay....
solved...
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: malloc undeclared error in simple linked list
 
Similar Threads
Accurately detecting 64 bit Windows architecture
fgets and fscanf
Local call involves pass-by-reference
not able to call my header file
C2143 error and I can't find it