puttextxy( int x, int y, char far *const );

V

venkatesh.k.desai5

Hi,
Is thr any way to make puttextxy( int x, int y, char far *const );
as portable? plz give me the code.

Take care
Venky.
 
R

Richard Heathfield

(e-mail address removed) said:
Hi,
Is thr any way to make puttextxy( int x, int y, char far *const );
as portable?

Yes. Removing the word 'far' makes the prototype, at least, portable.

Whether the underlying function can be made portable will depend on what it
does.
 
C

CBFalconer

Is thr any way to make puttextxy( int x, int y, char far *const );
as portable? plz give me the code.

Don't use foolish abbreviations like 'thr', 'plz', etc. Articles
with these receive the attention they deserve.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>
 
M

Malcolm

Hi,
Is thr any way to make puttextxy( int x, int y, char far *const );
as portable? plz give me the code.
No.
There's no portable way of treating the screen as a raster of fixed-width
text characters.
The "far" is also a platform specific way of dividing up memory.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top