P
pcnate
My class in a tech school, has kinda been debating over how you would
get and pass data to a fuction in C++.
What we would like to do is to pass information to a function directly
from a cin kinda like this
cin >> className.memFunc( ??? )
^^^>---------------------->^^^
is this possible in a single line of code?
get and pass data to a fuction in C++.
What we would like to do is to pass information to a function directly
from a cin kinda like this
cin >> className.memFunc( ??? )
^^^>---------------------->^^^
is this possible in a single line of code?