are you sure you have the right permitions? if you dont, or there is some
other problem, the file isnt opened and your code still assumes it is.
do somethng like
if ( !( infile = fopen(sdgjflgfdf) ) ) abort();
Dont trust the system :-)
On Wed, 8 Aug 2001, Andreas Maresch wrote:
> Hello!
>
> I a
On Wed, Aug 08, 2001 at 09:16:52AM +0200, Andreas Maresch wrote:
> Hello!
>
> I am (re)starting in programming c (I have learned it a while ago
> under dos). Yesterday, I wrote a simple program. When compiled with
> gcc -o test test.c, no errors or warnings occured.
>
> But when I try to run, i
Andreas Maresch wrote:
Hello!
I am (re)starting in programming c (I have learned it a while ago under
dos).
Yesterday, I wrote a simple program.
When compiled with gcc -o test test.c, no errors or warnings occured.
But when I try to run, it terminates with "Segmentation fault".
So, with the he
Hello!
I am (re)starting in programming c (I have learned it a while ago under
dos).
Yesterday, I wrote a simple program.
When compiled with gcc -o test test.c, no errors or warnings occured.
But when I try to run, it terminates with "Segmentation fault".
So, with the help of ddd (real nice tool
4 matches
Mail list logo