Oppure
#include <iostream> #include <windows.h> using namespace std; void gotoxy(int x,int y); int main() { gotoxy(10,10); cout << "Copyright" << endl; system("pause"); return 1; } void gotoxy(int x,int y) { COORD pos; pos.X = x; pos.Y = y; HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleCursorPosition(hConsole,pos); }