I have a problem in Objects . I want No of objects to be entered by User . How can I do this? : I have a problem in Objects . I want No of objects to be entered by User . How can I do this ???
    #include<iostream>
    using namespace std;

    class 
    {
    public :
       int FullName;
       int RollNumber;
       int age;
       int marks;
    }
    void main()
    {
       int n;
       cout << "How many Students record you want :\t ";
       cin >>n;     
       Data Student[n];
    }