質問編集履歴

3

Personの綴りの誤植、ヘッダファイル名のはじまりを大文字にしました

2017/06/19 09:15

投稿

ain4425
ain4425

スコア19

test CHANGED
File without changes
test CHANGED
@@ -94,7 +94,7 @@
94
94
 
95
95
  ③person.cpp
96
96
 
97
- person.h
97
+ Person.h
98
98
 
99
99
  としています。
100
100
 
@@ -336,7 +336,7 @@
336
336
 
337
337
  Person();//名前の設定→初期化
338
338
 
339
- Personv(string str, int q1_local, int q2_local, int q3_local, int q4_local);//長さ取得、代入
339
+ Person(string str, int q1_local, int q2_local, int q3_local, int q4_local);//長さ取得、代入
340
340
 
341
341
  string getname();//名前の取得(stringのメンバ)
342
342
 

2

ヘッダーファイルのstringについて修正しました

2017/06/19 09:15

投稿

ain4425
ain4425

スコア19

test CHANGED
File without changes
test CHANGED
@@ -310,6 +310,12 @@
310
310
 
311
311
 
312
312
 
313
+ #include<string>
314
+
315
+ using namespace std;
316
+
317
+
318
+
313
319
  class Person{
314
320
 
315
321
  string name;

1

誤字

2017/06/19 09:03

投稿

ain4425
ain4425

スコア19

test CHANGED
File without changes
test CHANGED
@@ -150,7 +150,7 @@
150
150
 
151
151
  int main(){
152
152
 
153
- cout << "\n" << endl;
153
+ cout << "A~Dの評価を出力します\n" << endl;
154
154
 
155
155
  Person person[4]={//4人の評価を関連付け
156
156