Search
 
SCRIPT & CODE EXAMPLE
 

C

how to use gotoxy in c language

#include<srdio.h>
#include<windows.h>
void gotoxy(short x, short y)
{
    COORD pos = {x,y};//sets co-ordinates in(x,y)
    SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),pos);
}
int main
{
   gotoxy(10,12);
   printf("Aman Yadav");
   return 0;
 }  
Comment

PREVIOUS NEXT
Code Example
C :: unity change transparency script 
C :: matplotlib legend remove box 
C :: fahrenheit to celsius formula 
C :: how to get time and date in c 
C :: arduino wifi ip address to string 
C :: allow unrelated histories 
C :: ruby absolute value 
C :: c random list 
C :: variably modified ‘_memory’ at file scope 
C :: bubble sort a linked list in c 
C :: how to auto run something on cmd 
C :: type change in c 
C :: reverse integer in c 
C :: postgres random select 
C :: get time to complete code c 
C :: dart in android studio 
C :: string if statements c 
C :: how to print value of pointer in c 
C :: Graphics in C Draw Circle 
C :: c syntax 
C :: array value from user c 
C :: c float 
C :: binary to decimal in c 
C :: C first digit of integer 
C :: how to add 1 to 10 in c 
C :: fibonacci series in c 
C :: convert string to int error checking c 
C :: c double 
C :: cifras de un numero en c 
C :: division en java 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =