Advertisement
Felanpro

empty()

Jan 20th, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.10 KB | None | 0 0
  1. string str1;
  2.  
  3. cout << "Is string empty? " << str1.empty() << endl;
  4.  
  5. //Checks if string is empty!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement