int main()
{
student s;
s.read_data();
s.display();
}
This program is erroring out for me. I checked and saw that it seems to be correct. Please could you help me out and let me know if something is wrong in this?
I did not look through all your code but at least you shall change Private to private and Public to public.
The class definition shall be ended with a semicolon. Member function definitions shall include the name of the class before their own names.