How to input a string from user

string s;
cin.getline(s,100);
not working

pls use the #include?

#include and assign the zero