why doesn't work?Code:#include <iostream> #include <stdlib.h> using namespace std; int main(int argc, char *argv[]) { cout<<"hello world!\n\n"; system("PAUSE"); cout<<"yeah babeeh\n\n"; system("PAUSE"); char string; cout>>"Say something: "; cin.getline(string); cout<<"\nYou said: "<<string; system("PAUSE"); return 0; }
thanks..