|
-
Sep 26th, 2001, 01:18 AM
#1
Thread Starter
Addicted Member
passing the input right through to the function
I may be just experiencing a moment of stupidity, but is there a way to pass input from the keyboard right through to a function without putting it first in a variable?
normally I would go
cin>>var_1;
function(var_1);
what I would rather do though is something like
cin >> function;
any ideas??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|