hello all still pretty new to programming. if anyone can shed some light on my problem it would be greatly appreciated.
when i run this code it prints out "please enter the students names like 4 times after the first initial print out. Thank you in advanceCode:#include <iostream> using namespace std; int main(int argc, char *argv[]) { for(int i=0; i<100; i++) { const char students=100; char names[students]; cout<<"please enter the students names"<<endl; cin>>names[students]; } system("PAUSE"); return EXIT_SUCCESS;



LinkBack URL
About LinkBacks


