Shorter version of gotoxy

Submitted by:Andery Smith

Date added:23 August, 2015

Category:C

There is a shorter version of previous snippet for *nix systems.

Tags: gotoxy , nix systems

Code Snippet:

#include <stdio.h>

void gotoxy(int x, int y)
{
printf("\033%dd\033%dG", y, x);
}
 
 

Comments