Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript Site
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


gotoxy function
 

 

Description

This shows how to use the gotoxy function in C to move the text cursor to a different location on the screen

Code

#include <conio.h>
#include <stdio.h>


int main(void)
{
int i;
printf("This is the first line.\n");
gotoxy(10,4);
printf("This is the second line.\n");
gotoxy(20,8);
printf("And this is line 3.\n");

return 0;

}

Information

tested using LCC Win 32 and Windows XP

 

 
 

 

Download

gotoxy.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
MP3 searcher(VBScript)
A basic calculator(Javascript)
Get current time(Powershell)
Select Case example(ASP)
OS version(C++)
Display ASP code on an HTML page(ASP)
Search and replace on a string(PHP)
Show all of a files attributes(ASP)

    




Copyright © 2003 by programmershelp.co.uk