Hi...!!
I am a beginner in programming .. i am trying to store student
data as in student data of student 1 is under student one ... then student 2..
i am going to take the number of students from the user for that i need 2D array of string like so
cout<<"\t \tHow many student info do you want to enter=";
cin>>no;
string (*A)[7] = new string[no][7];
for(m=0;m<no;m++)
{
cout<<endl;
cout<<"\t \tEnter the Student name:";
cin>>A[m][0];
cout<<"\t \tEnter the Father name :";
cin>>A[m][1];
cout<<"\t \tEnter the Student ID :";
cin>>A[m][2];
cout<<"\t \tEnter the Course name:";
cin>>A[m][3];
cout<<"\t \tEnter the Phone number :";
cin>>A[m][4];
cout<<"\t \tEnter the CNIC :";
cin>>A[m][5];
cout<<"\t \tEnter the Father CNIC :";
cin>>A[m][6];
cout<<"\t \tEnter the Address :";
cin>>A[m][7];