"Define a class Student that has as its members the student_name and a student_idnumber both of type string.
Input from the keyboard the number of students in the database, then create a dynamic array of type Student and input the information for each student.
Once you populate the database (stored all information), display the entire database. Remember to delete the dynamic array pointer before exiting the program."
please forgive my english its so not good :( but i am need help with this problem. i have define class 'student' correctly i believe but the rest i feel i dont understand to do
how to define dynamic array? and the rest? 8-) appreciate much help thank you
#include "stdafx.h"
#include <iostream>
class student
{
public:
student();
void setid(string a);
void setname(string b);
string getid();
string getname();
private:
string id;
string name;
};