You have an int variable "count"=0, which you increment every time you add a record. That tells you how many actual good data items that you start out with. When you loop in your code, you only loop...
Type: Posts; User: Adak
You have an int variable "count"=0, which you increment every time you add a record. That tells you how many actual good data items that you start out with. When you loop in your code, you only loop...
Why not assign the entire student struct (as one object), down to the array[index], that is one less?
Start with 5 (in the example above, and move it to 4, then 6 to 5, then 7 to 6, etc., using a...
First, you should know that in a program handling more records, you wouldn't "delete" a record. You would zero out the record member values, and add a bit of code so your program would :
1) not...