using 'new' operator
- by notLikeCpp
I have simple task concerning 'new' operator. I need to create array of 10 chars and then input those chars using 'cin'. Should it look like this ? :
char c = new char[10];
for(int i=0; i < 10; i++)
{
cin >> char[i] >> endl;
}