Sunday, August 2, 2009

Problem while trying to compile a C program in Linux?

I get the following error message: "stdlib.h :This file or directory does not exist"





How do I make that my C compiler finds stdlib.h





Pleasse give an extensive explanation, I'm new in Linux

Problem while trying to compile a C program in Linux?
Sounds like you have stdlib.h within quotes rather than within %26lt;%26gt; as in





#include %26lt;stdlib.h%26gt;
Reply:do


#include%26lt;stdio.h%26gt;


instead of


#include"stdio.h"


No comments:

Post a Comment