运行结果尺寸: 625 x 591
x
 
#include <iostream>
#include <string>
using namespace std;
int main() {
  string txt = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  cout << "The length of the txt string is: " << txt.length();
  return 0;
}
The length of the txt string is: 26