W3School TIY Editor

  • W3School 在线教程
  • 改变方向
  • 暗黑模式
​x
 
#include <iostream>
#include <string>
using namespace std;
 
int main () {
  string firstName = "Bill ";
  string lastName = "Gates";
  string fullName = firstName.append(lastName);
  cout << fullName;
  return 0;
}
​