I am a relative novice to programming in general and i am having trouble with this piece of code.
cout << "what would you like to have inside that?" << endl;
cout << "please enter a sentance" << endl;
cin.sync();
cin >> time[d];
cout << "Is this what you wrote?" << endl;
cout << time[d]<< endl;
system("pause");
it doesn't go past the the space and only outputs before it.