-
strings
I didnt include my code for my Stack on here. I want to say if string is not empty, then push each character onto stack. This isnt my whole code but just the part where Im stuck at. Do I have create a bool empty maybe?
Code:
int main(){
Astack S;
string s;
cout <<"Enter data:";
getline(cin, s);
if(!s.empty){
S.push(s);
}
-
hello,
i have some problem about my project..
can u help me to solve lcd.h function
the problem is unable to locate the lcd.h...
-
-
Since "s" is a std::string then "empty" should be a function.
Jim