Дамп всех задач

This commit is contained in:
2017-05-22 13:29:43 +03:00
parent b970626fef
commit 93746b05d7
173 changed files with 2505 additions and 0 deletions

22
C++/v6oid/1..cpp Normal file
View File

@@ -0,0 +1,22 @@
//#include <iostream>
#include <graphics.h>
#include <conio.h>
using namespace std;
void Tr ( int x, int y, int c ) {
moveto ( x, y );
lineto ( x, y-60 );
lineto ( x+100, y );
lineto ( x, y );
setfillstyle ( 1, c );
floodfill ( x+20, y-20, 15 );
}
main() {
initwindow (400, 300);
Tr (100, 100, 14);
Tr (200, 100, 14);
Tr (200, 160, 14);
system (" pause ");
closegraph();
return 0;
}