2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -24,17 +24,23 @@ Typically, the following is needed:
|
|||
* read and check input from the user
|
||||
* pop up dialogs to query the user for further information
|
||||
|
||||
The task: For a minimal "application", write a program that presents
|
||||
a form with three components to the user:
|
||||
A numeric input field ("Value") and two buttons ("increment" and "random").
|
||||
|
||||
;Task:
|
||||
For a minimal "application", write a program that presents a form with three components to the user:
|
||||
::* a numeric input field ("Value")
|
||||
::* a button ("increment")
|
||||
::* a button ("random")
|
||||
|
||||
|
||||
The field is initialized to zero.
|
||||
|
||||
The user may manually enter a new value into the field,
|
||||
or increment its value with the "increment" button.
|
||||
|
||||
Entering a non-numeric value should be either impossible,
|
||||
or issue an error message.
|
||||
|
||||
Pressing the "random" button presents a confirmation dialog,
|
||||
and resets the field's value to a random value if the answer is "Yes".
|
||||
|
||||
(This task may be regarded as an extension of the task [[Simple windowed application]]).
|
||||
(This task may be regarded as an extension of the task [[Simple windowed application]]).<br><br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue