2017-02-22 3 views
-3

そのすべてが、そのすべてが を行って を行って、そのすべてがC++別の関数からのユーザ入力を運び、メインでそれを表示する(初心者)

+1

void getinput(string restname,string name, double point) を変更することができます投稿してください[MCVE]とあなたのコードのフォーマット –

+2

[良い初心者の本を見つける](http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list)と*参考文献*を読んでください。 –

+1

値渡しと参照渡しの違いは何ですか?これを読まない場合:http://stackoverflow.com/questions/373419/whats-the-difference-between-passing-by-reference-vs-passing-by-value – NathanOliver

答えて

1

を行ってあなたが

void getinput(string restname,string name, double& point) 
+0

ありがとうございました。 –

関連する問題