- 19.12 (released) ...
To compile the example:
- Launch EiffelStudio.
- Click Add project
- Browse to $ISE_EIFFEL\examples\wel\diskspace\.
- Choose diskspace.ecf
- Choose the location where the project will be compiled, by default the same directory containing the configuration file.
- Click OK.
After launching the application, you will see text output showing the size and amount of free space available on each of your local drives.
Under the Hood
DISCSPACE_DEMO contains a once feature, diskspace which returns an instance of WEL_DISK_SPACE , used to query the local drives.
This sample contains only one class: