Okay this has me scratching my head :

I can use cin.getline in main fine by e.g.

char test[10];

cout << "input : " ;
cin.getline(test, 10);
cout << "test is " << test;



BUT when in a function it skips the input part and moves onto the next bit off code !!!

Can someone please help me out.

Thanks

Blim