My professor uses gotoxy for newlines. For example:
#include <stdio.h>
#include <conio.h>
main()
{
gotoxy(0, 1);
printf("Hello World");
gotoxy(0, 2);
printf("This is app");
return 0;
}
I'm very troubled why he is doing this. It's incredibly verbose, it's non-standard, and introduces overhead. I think this is better:
printf("Hello World \n");
printf("This is app \n");
return 0;
Am I missing something? Should I confront him about the matter?