This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Segmentation fault Causes
On Mon, 24 Feb 2003 11:06:35 +0530
"Ajay Bansal" <Ajay_Bansal at infosys dot com> wrote:
> John
>
> Can you please tell me how to use this fprintf(stderr... . ) function?
>
> Do I need to give it at many different places in the code??? If that is
> the case, what's is the difference between putting many different
> "cerr<<................"???
`fprintf' is from standard C library. `cerr <<' is from C++.
You may learn more about fprintf from `man fprintf'. Do #include <stdio.h> if you want to use it in your code.
Best regards,
Sergei