c++.command-line - Using gotoxy, wherex, wherey
- Nascar skynet.be (10/10) Oct 20 2004 Hi,
- Jan Knepper (8/24) Oct 20 2004 They were Borland extensions.
- Nascar skynet.be (13/37) Oct 20 2004 Hi,
- Walter (4/49) Oct 21 2004 I just compiled and ran the example in www.digitalmars.com/rtl/disp.html...
- Nascar skynet.be (12/71) Oct 22 2004 I've rechecked again ...
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
Oct 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
Oct 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:-- Nascar Mens Sana in Corpore SanoHi, 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
Oct 20 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...andThey 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-- Nascar Mens Sana in Corpore Sanotextcolor, 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
Oct 21 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...-- Nascar Mens Sana In Corpore SanoHi, 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...andThey 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-- Nascar Mens Sana in Corpore Sanotextcolor, 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
Oct 22 2004