"Jens Thoms Toerring" <jt@toerring.de wrote in message
news:69bghhF31l 8u3U1@mid.uni-berlin.de...
Better make that
>
int main( void ) {
>
>
Are you sure the file got opened at all? I suspect that you
want to open a file name "/b", not "b".
>
int main( void ) {
>
> int a;
> FILE *fp;
> fp=fopen("b","r b");
> FILE *fp;
> fp=fopen("b","r b");
Are you sure the file got opened at all? I suspect that you
want to open a file name "/b", not "b".
directory.
[snip]
printf( "%x\n", ( unsigned int ) a );
return 0;
}
Regards, Jens
return 0;
}
Regards, Jens
usually doesn't need casts. Or something to that effect. Is there a way to
not need a cast here and use printf more knowledgably? Like using some of
those #$][ characters that it takes to use to format data?
Bill
Comment