Course list http://www.c-jump.com/bcc/
Your assignment is to add a status line to the Scratch Pad application you developed in Home work project 5. (If you don't have a usable project, try Lab 21 as a prototype for this home work.)
The status line should have two items:
a label showing the file name picked by the user;
a progress bar animating loading and saving files:
Add File/New menu item to the window. The New menu should delete existing drawing primitives and clear the drawing box. Warn the user if the previous drawing is unsaved:
Use FLTK Fl_Output widget to display the name of the file on the status line.
Use FLTK Fl_Progress to show the progress bar next to the file name.
Position the file name box and the progress bar at bottom of the window, known as a status line. Display file name on the status line. Switch to "unknown.txt" when the application starts or when the user clicks the New menu.
Use timer events to animate the progress bar. The animation begins when the user is loading or saving a drawing. (The animation isn't tied to the time required to load or save a file; rather, it is as purely a cosmetic feature at this stage.)
Important: Before creating your ZIP archive:
Open your project in Visual Studio, click Build -> Clean Solution.
Important: Close your project in Visual Studio, File -> Close Solution and exit Visual Studio.
Open Windows File Explorer, click View -> check Hidden Items. You need to do this only once, this option is sticky.
Open your project directory in Windows File Explorer. There should be visible a hidden subdirectory named .vs.
The .vs directory in Microsoft Visual Studio is officially known as the Visual Studio solution "user options" directory. The .vs directory is automatically created in the same directory as your solution file (.sln) and contains all sorts of garbage for "improved performance" and "preserved developer preferences". It's size is huge and can easily exceed 30 Megabytes or more.
Important: Click .vs directory in Windows File Explorer and permanently delete .vs by clicking SHIFT Delete (press SHIFT and Delete keys simultaneously.)
In summary: Clean Solution is now complete and .vs directory is deleted.
Alternatively, you can run clean_before_submit.bat after exiting the Visual Studio. This will automate the clean-up instead of manual deletion. It's never a bad idea to run clean_before_submit.bat script before creating a ZIP arcive of the project.
ZIP you entire project directory in a single ZIP file.
NOTE: Check the size of your ZIP file. If it's larger than 20-30 Kb, it's likely a sign of something wrong, like forgetting to remove the unwanted .vs subdirectory and so on.
Log on to CIS-255 online , Weekly Assignments, and follow the appropriate upload link to submit your ZIP file.
Note: the system will display an 8-digit confirmation number once the file is successfully uploaded. You can save the confirmation number for your own records, but this is not a required step and no further action is needed on your part.