Why does this give an error?
the error is:
"Conflicting type modifier"
Code:byte far far_array[3] = { 'H', 'i', 0 };
Why does this give an error?
the error is:
"Conflicting type modifier"
Code:byte far far_array[3] = { 'H', 'i', 0 };
far is for "far pointers". In other words, he has an old ass 16bit compiler, or is trying to use code from a book designed for an old ass compiler. I'd just suggest what I always suggest, get a real compiler.
But I believe what it's actually saying is not to use "far" with your array, since "far" is used with pointers.
Quzah.
Hope is the first step on the road to disappointment.
What scope is this in? If it's not in file scope then it's a local variable on the stack (hence, near data), so declaring it as far is contradictory.
My best code is written with the delete key.
thanks, that solved one problem.
it was of local scope
just out of curiosity, what compiler are you using?
>what compiler are you using?
Probably Turbo C v.old.
My best code is written with the delete key.
quoted for truth, and funny.Originally Posted by Prelude
c++->visualc++->directx->opengl->c++;
(it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)