Thread: usage of gotoxy() function

  1. #1
    Unregistered
    Guest

    Question usage of gotoxy() function

    Hello,

    What is the usage of usage of gotoxy() function? Also can you show me an example of it being used?

    Thank You In Advanced.

  2. #2
    Registered User *pointer's Avatar
    Join Date
    Oct 2001
    Posts
    74
    gotoxy moves the cursor to the given position in the current text window.

    ex:
    Code:
    #include <conio.h>
    
    int main()
    {
        clrscr();
        gotoxy( 35, 12 );
        cprintf( "Blah Blah Blah" );
        getch();
        return 0;
    }
    pointer = NULL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Brand new to C need favor
    By dontknowc in forum C Programming
    Replies: 5
    Last Post: 09-21-2007, 10:08 AM
  3. Calling a Thread with a Function Pointer.
    By ScrollMaster in forum Windows Programming
    Replies: 6
    Last Post: 06-10-2006, 08:56 AM
  4. Change this program so it uses function??
    By stormfront in forum C Programming
    Replies: 8
    Last Post: 11-01-2005, 08:55 AM
  5. c++ linking problem for x11
    By kron in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2004, 10:18 AM