vs2010 tag

1 questions


1 answers
42 views
0
Is there no null character when storing a string in the c++ string class?

#include <iostream>#include <string>#include <cctype>using namespace std;void ChangeStr(string &s);int main(){ string str; while(1) { cout<<Enter a string (q to end):; cin&...

2 years ago

© 2024 OneMinuteCode. All rights reserved.