Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 578 Bytes
This program takes the input from a text file, and, using threads, performs the tasks specified in the file simultaneously.
Here is an example task input:
S 10 400
M 40 200
F 60 100
D 5 300
E 10 100
F 5 200
G 5 100
H 10 300
Quit 0 0
The first non-numerical character specified is what the program will output.
The first number specifies the number of times the character will be outputted.
The second number specifies the time delay between each output of the character.
So for example, S 10 400 will output the character 'S' ten times with a delay of 400 between each output.