How do I save into structure?

I have to use structure for my program but I don't know how to make sure my input is saved in it.

So how do I check for that?

Thank you
Read the structure after you've put the input into it, although if you can't trust:

someStructure.someInternal = someValue;

to store the data, you might as well just give up on it.
Oh right. I forgot how to call it. That's all x_O.
other wise you can overload = operator .
Topic archived. No new replies allowed.