i m making a hotel database management system and i have to add records, update and delete them.i m having problem in getting the input,how will i use double pointers?? and i have to get a certain number of records from the user.

here is my code:
Code:
void addcustomer()
{
	int n;

	cout << " ------- Add Customer Record --------" << endl << endl;

	cout << "Please Enter the number of records you want to Enter: " << endl;

	cin>>n;

	char ** c=new char*[n];

	cout << "Please Enter Customer Name: " << endl;
	
	// dont know how to get input!

	cout << "Please Enter Customer NIC Number: " << endl;

	
	cout << "Please Enter Customer Telephone: Number " << endl;


	cout << "Please Enter Customer Room Number: " << endl;


	cout << "Please Enter Customer Entry Date and Time: " << endl;


	cout << "Please Enter Customer Exit Date and Time: " << endl;


	cout << "Please Enter Customer Payments: " << endl;


	cout << "Please Enter Customer Status: " << endl;


	





}
how would i get input in the 2d array?

and one more thing,if i get input in one function,would i be able to use the same record in another function?