Prelab11 - An integer counter to keep track of the index in...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CNIT 175 Prelab11 Objectives: o Dynamic Array of Structure o Saving to the file Let the user enter students’ name and score followed by a click on Enter Button. Store data in a dynamic array of structure. Save data to the file in FormClosing event. Figure 1, Screen Capture at runtime Data Structure: Declare the following with module scope. A Structure with two members to store a name and a whole number. A dynamic array of structure to store all the students entered in this program.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: An integer counter to keep track of the index in array where the last data is stored. Enter Button: o Assume the input data is valid. . o Store the student’s data in dynamic array of structure. Display Button: o Clear the ListBox o Display students’ name and score in two columns. FormClosing Event: Save array content to a text file students.txt , located in the bin folder of the project....
View Full Document

This note was uploaded on 02/06/2012 for the course CNIT 175 taught by Professor Na during the Fall '11 term at Purdue University.

Ask a homework question - tutors are online