Thank you for your comment! I know there is a lot of mess (for example "a" is useless, it was used in different part and never removed) and the main is too long, but the point was to write something working really fast (30 minutes). Im thinking about some java aplets which can operate on data gathered from toribash. Topic is pretty hot for me, i have to pass my exams.

Thank you for your comment! I know there is a lot of mess (for example "a" is useless, it was used in different part and never removed) and the main is too long, but the point was to write something working really fast (30 minutes). Im thinking about some java aplets which can operate on data gathered from toribash. Topic is pretty hot for me, i have to pass my exams.

Once again, if ya ever need help my server has some helpful people
and i mainly focus on optimizing/removing useless stuff once i get functionality down.

Another thing i'd change is instead of using \n in strings to create a new line, do cpp code: