[Solved] checking `aStr == null` in C++
[ad_1] if (a == NULL) can’t work since you are comparing a std::string with an Integer which is not possible. if you want to create an empty string and test for emptiness just do: string a; if (a.empty()) { /* do something */ } 2 [ad_2] solved checking `aStr == null` in C++