input source

closed account (SECMoG1T)
I always have this question but am not sure if I should ask it here
Well am wondering if c++ programs only relay on inputs from
Standard input and files only, are there oother sources of input for c++
Programs? ?
Last edited on
Sure there is: memory mapped devices, network streams, any other device you know about.
There is not many standard ways of input. For others you need to acquire external library or use OS API to get access to it.
closed account (SECMoG1T)
I knew you had the right answer, but well this seems to me like whole other world
.can they be used like the standard input? Haha I meanmapdevice>> variables
Looks weird? Just wondering. thanks @ minnippa.
can they be used like the standard input?
If they provide corresponding overloads of operators >> and << then yes. If not, you can always create one yourself.
closed account (SECMoG1T)
I appreciate your help, thanks i know it isn't as hard as I might think
if I can have overloads on them too >> / << it sounds like it can happen? but problem
Is I dont know to start where, but never mind i'll have to do some research / some direction will be appreciated . Thanks for your time @minnippa.
closed account (SECMoG1T)
Thenks i appreciate, lemmi check it out.
Topic archived. No new replies allowed.