Skip to content

Instantly share code, notes, and snippets.

@Kablys
Kablys / data
Last active August 29, 2015 13:56
What data means
int data[4];
i;
for(i = -8; i<10;i++)
printf("%d \n",data[i]);
program Tictactoe;
type
TState = char; {'X', 'O', arba ' '}
TPosition = (A1, A2, A3, B1, B2, B3, C1, C2, C3);
TGame = array[TPosition] of TState;
TLines = array[1..8, 1..3] of TPosition;
const
Lines: TLines = (
program Studentai;
const
Duomenys = 'duomenys.txt';
Rezultatai = 'rezultatai.txt';
Type
Info = Record
Vardas:string;
Pavarde:string;