Thread overview
Using gotoxy, wherex, wherey
Oct 20, 2004
Nascar
Oct 20, 2004
Jan Knepper
Oct 20, 2004
Nascar
Oct 21, 2004
Walter
Oct 22, 2004
Nascar
October 20, 2004
Hi,

I'm used of woking with an old borland compiler and making small dos applications.

In these applications I often used gotoxy for positioning the cursor and textcolor, textbackground for setting colors of the text.

In the dmc compiler these functions seem to be not included.

Was this the intention because there is an alternative way ? Or is this something that is just not implemented.

Nascar.

Mens Sana in Corpore Sano
October 20, 2004
They were Borland extensions.
Take a look at disp.h, that the Digital Mars was of doing it...



Nascar@skynet.be wrote:

> Hi,
> 
> I'm used of woking with an old borland compiler and making small dos
> applications.
> 
> In these applications I often used gotoxy for positioning the cursor and
> textcolor, textbackground for setting colors of the text.
> 
> In the dmc compiler these functions seem to be not included.
> 
> Was this the intention because there is an alternative way ?
> Or is this something that is just not implemented.
> 
> Nascar.
> 
> Mens Sana in Corpore Sano


-- 
ManiaC++
Jan Knepper

But as for me and my household, we shall use Mozilla...
www.mozilla.org
October 20, 2004
Hi,

Thank you very much it is just what I was looking for ;)

unfortunately it does not work exactly as desired ...
I've tried out an example of the reference (the function disp_pokew)
and it does not return the desired or shown result.
It just comes back with "getconsolescreenbufferinfo"
and it makes no sense to me.

Could you please help me with this small problem

Thanks in advance



In article <cl5h9k$2fgs$2@digitaldaemon.com>, Jan Knepper says...
>
>They were Borland extensions.
>Take a look at disp.h, that the Digital Mars was of doing it...
>
>
>
>Nascar@skynet.be wrote:
>
>> Hi,
>> 
>> I'm used of woking with an old borland compiler and making small dos applications.
>> 
>> In these applications I often used gotoxy for positioning the cursor and textcolor, textbackground for setting colors of the text.
>> 
>> In the dmc compiler these functions seem to be not included.
>> 
>> Was this the intention because there is an alternative way ? Or is this something that is just not implemented.
>> 
>> Nascar.
>> 
>> Mens Sana in Corpore Sano
>
>
>-- 
>ManiaC++
>Jan Knepper
>
>But as for me and my household, we shall use Mozilla... www.mozilla.org

--

Nascar

Mens Sana in Corpore Sano
October 21, 2004
I just compiled and ran the example in www.digitalmars.com/rtl/disp.html and it produced the output shown in the web page. -Walter

<Nascar@skynet.be> wrote in message news:cl5ols$2nb9$1@digitaldaemon.com...
> Hi,
>
> Thank you very much it is just what I was looking for ;)
>
> unfortunately it does not work exactly as desired ...
> I've tried out an example of the reference (the function disp_pokew)
> and it does not return the desired or shown result.
> It just comes back with "getconsolescreenbufferinfo"
> and it makes no sense to me.
>
> Could you please help me with this small problem
>
> Thanks in advance
>
>
>
> In article <cl5h9k$2fgs$2@digitaldaemon.com>, Jan Knepper says...
> >
> >They were Borland extensions.
> >Take a look at disp.h, that the Digital Mars was of doing it...
> >
> >
> >
> >Nascar@skynet.be wrote:
> >
> >> Hi,
> >>
> >> I'm used of woking with an old borland compiler and making small dos applications.
> >>
> >> In these applications I often used gotoxy for positioning the cursor
and
> >> textcolor, textbackground for setting colors of the text.
> >>
> >> In the dmc compiler these functions seem to be not included.
> >>
> >> Was this the intention because there is an alternative way ? Or is this something that is just not implemented.
> >>
> >> Nascar.
> >>
> >> Mens Sana in Corpore Sano
> >
> >
> >-- 
> >ManiaC++
> >Jan Knepper
> >
> >But as for me and my household, we shall use Mozilla... www.mozilla.org
>
> --
>
> Nascar
>
> Mens Sana in Corpore Sano


October 22, 2004
I've rechecked again ...

and you're right it is working perfectly ...
I'm using UltraEdit to write the C++ and I've configured 2 tools 1 to compile
with dmc and one to execute the C++ program.

The last one was causing the problem. It tries to catch the console output. But by using the disp.h no output is generated and that generates the message.

Running the program from Explorer works fine ;)
Thank you very much.

In article <cl906q$t17$1@digitaldaemon.com>, Walter says...
>
>I just compiled and ran the example in www.digitalmars.com/rtl/disp.html and it produced the output shown in the web page. -Walter
>
><Nascar@skynet.be> wrote in message news:cl5ols$2nb9$1@digitaldaemon.com...
>> Hi,
>>
>> Thank you very much it is just what I was looking for ;)
>>
>> unfortunately it does not work exactly as desired ...
>> I've tried out an example of the reference (the function disp_pokew)
>> and it does not return the desired or shown result.
>> It just comes back with "getconsolescreenbufferinfo"
>> and it makes no sense to me.
>>
>> Could you please help me with this small problem
>>
>> Thanks in advance
>>
>>
>>
>> In article <cl5h9k$2fgs$2@digitaldaemon.com>, Jan Knepper says...
>> >
>> >They were Borland extensions.
>> >Take a look at disp.h, that the Digital Mars was of doing it...
>> >
>> >
>> >
>> >Nascar@skynet.be wrote:
>> >
>> >> Hi,
>> >>
>> >> I'm used of woking with an old borland compiler and making small dos applications.
>> >>
>> >> In these applications I often used gotoxy for positioning the cursor
>and
>> >> textcolor, textbackground for setting colors of the text.
>> >>
>> >> In the dmc compiler these functions seem to be not included.
>> >>
>> >> Was this the intention because there is an alternative way ? Or is this something that is just not implemented.
>> >>
>> >> Nascar.
>> >>
>> >> Mens Sana in Corpore Sano
>> >
>> >
>> >-- 
>> >ManiaC++
>> >Jan Knepper
>> >
>> >But as for me and my household, we shall use Mozilla... www.mozilla.org
>>
>> --
>>
>> Nascar
>>
>> Mens Sana in Corpore Sano
>
>

--

Nascar

Mens Sana In Corpore Sano