Keine Beschreibung

L3odr0id a3a2c3004a Input end update vor 4 Jahren
README.md 7ee0e7de8b Update input vor 4 Jahren
cl.cpp a3a2c3004a Input end update vor 4 Jahren
cl.h 95805a0056 Upload files vor 4 Jahren
main.cpp 630a3ec95a Add main.cpp vor 4 Jahren

README.md

Multi tree

C++ code that creates very simple tree of different objects. Download and modify the code!

Input:

fist line : <name for root object>
next lines: <name of object to connect> <name of new object> <num of class (2,3,4)> <data> 
last line: endtree

Input example:

root
root obj1 3 1
root obj2 2 10
obj1 lol 4 -3
endtree

Tree structure:

root
|
|-obj1
| |-lol
|
|-obj2

Object is ready, when data > 0.

Output example:

The object root is ready
The object obj1 is ready
The object lol is not ready
The object obj2 is ready