DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Borland C++

Hybrid View

  1. #1
    Anders W-P Guest

    Borland C++


    Hi There!!

    I now there is a function in Borland C++ function there is called gotoxy()
    I would like to now what the function is called in Visual C++.

    Thanks Anders

  2. #2
    ralph Guest

    Re: Borland C++


    "Anders W-P" <awp@mobilixnet.dk> wrote:
    >
    >Hi There!!
    >
    >I now there is a function in Borland C++ function there is called gotoxy()
    >I would like to now what the function is called in Visual C++.
    >
    >Thanks Anders


    Now there is a voice from the past!

    That routine I believe is part of the MS-DOS graphics library (Graphics.lib)
    which I don't believe was ported to 32-bit Visual C++.

    I may be wrong, but I think the last time it was around was MS C/C++ 7.0
    and Visual C++ 2.x (16-bit).

    I just searched my recent copy of MSDN and could find no reference to it.



  3. #3
    duane Guest

    Re: Borland C++


    >That routine I believe is part of the MS-DOS graphics library (Graphics.lib)
    >which I don't believe was ported to 32-bit Visual C++.
    >
    >I may be wrong, but I think the last time it was around was MS C/C++ 7.0
    >and Visual C++ 2.x (16-bit).
    >
    >I just searched my recent copy of MSDN and could find no reference to it.
    >


    You'll find it in conio.h for BCC 5.02. I think it's also in the djgpp version
    of conio.h for DOS. Borland claims it's portable to DOS, Win16, Win32 and
    OS/2 but not Unix.


  4. #4
    Katy Mulvey Guest

    Re: Borland C++

    > I now there is a function in Borland C++ function there is called gotoxy()
    > I would like to now what the function is called in Visual C++.


    Assuming that you're using the latest version of Visual Studio,
    and that you're writing a console-based application, you probably
    want to use SetConsoleCursorPosition.

    KB articles Q99261 ("HOWTO: Performing Clear Screen (CLS) in a
    Console Application") and Q99456 ("Win32 Equivalents for C Run-Time
    Functions") may also be helpful to you.

    --
    - Katy

    Katy Mulvey Please post replies to the newsgroup, thanks!
    ORMEC Systems Check out the VC++ FAQ: http://www.mvps.org/vcfaq
    http://www.ormec.com MVP/VC++ http://support.microsoft.com/support/mvp




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center