ホームに戻る
 文字列を表示

#include <iostream>
#include <string>

/*
*
*   文字列を表示
*
*   test と表示するサンプル
*
*/

int main(){
  std::string s("test");

  std::cout << s << std::endl;

  return 0;
}

 結果

test

inserted by FC2 system