Call a function (ofstream) C++ -


hello have probleme code.i don't know how call function ofstream.

//username username(ofstream& reg); //password password(ofstream& reg); //email email(ofstream& reg); //gender gender(ofstream& reg); 
line(22) error is: expected primary-expression before '&' token line(24) error is: expected primary-expression before '&' token line(26) error is: expected primary-expression before '&' token line(28) error is: expected primary-expression before '&' token 

remove ofstream &. function calls don't include types.


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -