User Tools

Site Tools


howto:tutorial1

Tutorial #1, Hello World !

Read a file “hello?.txt” and generate different type of outputs.

Use cases

hello1

Read the “hello1.txt” file and send each line to “cout”.

hello2

Read the “hello2.txt” file and send each line to “cout”, with evenBoard and reverting odd and pair lines.

hello3

Read the “hello1.txt” file and send each line to “cout”, with evenBoard.

hello4

Read the “hello2.txt” and “hello4.txt” files and send each line to “cout”, with eveBoard and reverting odd and pair lines.

All this different behaviors, only with one executable, without recompiling the software…

Analysis

With “Evenja - complexity solved” making an analysis, is only drawing the “move” of the datas.

hello1

Read a file and send to cout.

Input : read file “hello1.txt”

Output : write to “cout”

hello2

Read a file send datas to a board, send grouped datas to concat, send to cout.

Input : read file “hello2.txt”

Board : group datas (lines) by two datas (evenja library default)

Prg : concat the lines

Output : write to “cout”

hello3

Read a file send datas to a board, with “followDestination” board behavior, send grouped datas to concat, send to cout.

Input : read file “hello3.txt”, with followDestination

Board : group datas (lines) by two (evenja library default)

Prg : concat the lines

Output : write to “cout”

hello4

Read two files send datas to a board, send grouped datas to concat, send to cout.

Onput : read file “hello2.txt” (fdoor_file.cpp)

Input : read file “hello4.txt”

Board : group datas (lines) by two datas by source file (evenja library default)

Prg : concat the lines

Output : write to “cout”

howto/tutorial1.txt · Last modified: 2022/08/16 09:58 by fabian