#include <iostream> #include <string> using namespace std; int main(){ string sute = "これはテストです。"; cout << sute << endl; cout << "これは試験です。" << endl; char hoge[] = "これも試験です。"; cout << hoge << endl; system("pause"); return 0; }
#include <iostream> #include <string> using namespace std; int main(){ string sute = "これはテストです。"; cout << sute << endl; cout << "これは試験です。" << endl; char hoge[] = "これも試験です。"; cout << hoge << endl; system("pause"); return 0; }