I need help with a program
-
I need to create code that goes through the array, and for each empty slot, allocate a Student object. You should assign the new object a Student ID number that is the same as the slot in the array (i.e., if slot #7 is blank, create a Student object with ID # 7). You should NOT destroy any existing Student objects How should I start this assignment.
-
I need to create code that goes through the array, and for each empty slot, allocate a Student object. You should assign the new object a Student ID number that is the same as the slot in the array (i.e., if slot #7 is blank, create a Student object with ID # 7). You should NOT destroy any existing Student objects How should I start this assignment.
-
I need to create code that goes through the array, and for each empty slot, allocate a Student object. You should assign the new object a Student ID number that is the same as the slot in the array (i.e., if slot #7 is blank, create a Student object with ID # 7). You should NOT destroy any existing Student objects How should I start this assignment.
Honestly, if the material your teacher gave you doesn't give you a starting point, I'd approach some other students to work out if the problem is with you, or with the teacher. If the other students also don't know how to start, approach the teacher. If they do, then follow the advice given before, read your course materials, use google and then take a shot at it.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )