Here one can find my work for some labs during the first year at Higher School of Economics.
Solutions are written on C++.
-
This task consists of 2 parts:
-
Quote book. Commands
sherlock-holmes
andcat-jeoffry
show fragments from Sherlock Holmes and Jubilate Agno respectively. Commandquit
exits the interpreter. Commands can have pseudonyms. - Wanderer. A wanderer walks on the infinite plane. Commands allow to move forward and backward; turn around on 90 degrees to the left and to the right; show the map. Also, reconding of a sequnce of commands is supported. The recorded sequence can be executed later.
-
Quote book. Commands
-
The task is to create a structure
bigint
that saves a number of a random length and supports basic operations. Only positive numbers are supported. -
A console game tic-tac-toe on a filed 10×10. The are two possible views of the field:
view-compact
andview-pretty
. The view of the field can be changed during the game session. -
An interpreter for an assembler-like programming language. There are ten registers from
$0$ to$9$ . Each register saves a matrix of a random size with integers. There are commands to manipulate data stored in registers.