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

    


Move text in a console window
 

 

 

Description

This example moves text from location on a console window to another

Code

/*this example moves some text from location*/
/*1,1 to 30,1 to location 1,20*/
#include <conio.h>
#include <stdio.h>


int main(void)
{
clrscr();

printf("Here is some text we will move.\n");
printf("Press key to move the text.\n");
getch();
/*parameters are left,top,right,bottom,destleft,desttop*/
movetext(1,1,30,1,1,20);

return 0;

}

Information

tested using LCC Win 32 and Windows XP

 

 

 

 

Download

movetext.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
get the Windows XP product serial number(C Sharp)
Random numbers in a range(C)
delete files on a floppy disk(VB)
create a new word document(VBScript)
A simple function example(Powershell)
decimal to binary conversion(PHP)
Output a number with leading zeroes(PHP)
Delete recent documents(C)

    




Copyright © 2003 by programmershelp.co.uk