I want to store the address of a customer (with spaces) in a char variable (say cadd). First I tried to use "cin", as we know it reads until it sees any whitespace. So it reads only first word before a white space. So, I used "getline()" function, somebody suggested me it will work. But when I used it, It did'nt wait for the I/P (it skipped it). Whats the problem can anybody tell.