hey ,so i have a function which draws a box on the screen every time i call it.
the box looks somthing like this...
now the thing is..i want to display the boxes in a single row..but every time i call the function it draws the boxes vertically because of the \n's.Code:printf("_____________\n"); printf("| |\n"); printf("| |\n"); printf("| |\n"); printf("| |\n"); printf("| |\n"); printf("| |\n"); printf("| |\n"); printf("| |\n"); printf("| |\n"); printf("|___________|\n"); printf("\n");
How do i display the boxes in a single row ?