DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
c++ check if string is empty
#include <iostream> int main() { std::string str; if(str.empty()) std::cout << "Empty"; return 0; }
PREVIOUS
NEXT
Tagged:
#check
#string
#empty
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit