Skip to content
Advertisement

Tag: coordinate-systems

gotoxy() function using printf() ‘s position

Hello there i am working a project which need the gotoxy() function i have read gotoxy() implementation for Linux using printf i wonder why the need to change the x y order in printf, is that just to fit the coordinate system? in my way, i change it to printf(“%c[%d;%df”,0x1B,x,y) to meet my needs stil, during my using this gotoxy()

Advertisement