Random File Creation Program
Random File Creation Program
(OP)
need code for this:
Write a program that creates a random file containing academic info. using data entered from the console. Each record is 27 bytes long, and there should be at least 20 records. The record format is shown here:
Field Column
Student Number 1
Last Name 6
Course Taken 19
Number of credits 27
Grade 28
Here is some sample data to which you should add at least 17 more records:
10024ADAMS ENG 11003A
23456BEAN CIS 23014B
12345BOOKER MAC 11325A
Using this file write a random file update program that
displays the following menu:
STUDENT FILE MAINTENANCE
S Show a single record
A Add a new record
C Change a record
D Delete a record
E exit program
The user may select records by record number. After each of the menu functions is carried out, return to the menu. Test the prog with multiple additions, deletions, and changes to records.
Write a program that creates a random file containing academic info. using data entered from the console. Each record is 27 bytes long, and there should be at least 20 records. The record format is shown here:
Field Column
Student Number 1
Last Name 6
Course Taken 19
Number of credits 27
Grade 28
Here is some sample data to which you should add at least 17 more records:
10024ADAMS ENG 11003A
23456BEAN CIS 23014B
12345BOOKER MAC 11325A
Using this file write a random file update program that
displays the following menu:
STUDENT FILE MAINTENANCE
S Show a single record
A Add a new record
C Change a record
D Delete a record
E exit program
The user may select records by record number. After each of the menu functions is carried out, return to the menu. Test the prog with multiple additions, deletions, and changes to records.
RE: Random File Creation Program
0000:0000:0000:0000h
The people who have nothing to say and say it too loud have little knowledge, It's the quiet ones you need to worry about!
RE: Random File Creation Program
0000:0000:0000:0000h
The people who have nothing to say and say it too loud have little knowledge, It's the quiet ones you need to worry about!
RE: Random File Creation Program
RE: Random File Creation Program
"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
RE: Random File Creation Program
RE: Random File Creation Program
try looking things up at:
win32asmboard.cjb.net
"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
RE: Random File Creation Program
ReadFile
Look 'em up.
It's recommended you do any manipulation in the memory before writing to the file.
"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."