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
display the day of the week(VB)
displays a list of My Computer locations(VBScript)
find the hostname for a known IP address(C Sharp)
a movable target(Darkbasic)
File exists with PHP and Java(PHP)
capture window under mouse(VB)
Display all files on the C drive(Powershell)
If Else statement(PHP)

    




Copyright © 2003 by programmershelp.co.uk