I don't understand the question. Are you getting absurd numbers? You might have an endianness problem.
And what's lseek, anyway?
I don't understand him because he doesn't make himself clear, not because I don't know what the problem might be, smarty pants.
I was trying to obtain more information to provide a better answer.
"What's the simplest way of getting the height and width of an image"? Should I have said "getting it"?
If he had said "the real values are x and y but I'm getting a and b" it'd be a different story, but there are so many ways something can be "unsuccessful" he might as well not say anything.
He made himself perfectly clear: he stated what he is trying to do, the data he is trying to do it on, provided the exact code he is trying to it with, and the exact problem he is having with it. That's a perfect question by any standard.
If you are just going to acerbically attack everything that hits you the wrong way I'm going to start complaining to the site administrator.
Oh, and double-talk self-rationalizations doesn't impress me much.
For the love of God, are you serious?
So, to you, "unsuccessful" is an "exact problem"?
"Acerbically attack"? I'll use your logic on yourself. If there was any chance that I would react, why bother saying anything at all? Why not just answer his question and leave it at that? No. You needlessly made a remark about me. I might have overreacted (I hardly consider that overreacting, but what the hell), but that's my temperament. Who the **** are you to criticize it?
You know what? Go. Go complain to the admin, *******. I already know the Post Count Rule will apply, but what do I care? **** YOU.
Last edited on by admin
Please, stick to the topic.
helios, be cool and to follow smb.'s example from Duoas.
Duoas, thank for your answer.
I take next error to use your sample..
error: subscripted value is neither array nor pointer
on this row
Width = buf[ 0 ] + (buf[ 1 ] << 8);
A lot of about this...
I want take dec value from specify hex address into binary file.