fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main(){
  6. string nome = "Teste";
  7. cout << nome.length() << endl;
  8. }
  9.  
  10. //https://pt.stackoverflow.com/q/513275/101
Success #stdin #stdout 0s 5296KB
stdin
Standard input is empty
stdout
5