lab.cpp/Chess/main.cpp

23 lines
301 B
C++

#include "main.h"
/* [0] Point d'amorcage
=========================================================*/
int main(){
Piece *a = new Roi(1, 12);
Piece *b = new Pion(1, 12);
setfont(RED);
cout << *a << endl;
setfont(SKYBLUE);
cout << *b << endl;
cout << *b << endl;
setfont();
return 0;
}