need some help with this code input.

hi
i tried cin and scanf but i didn't get it. How i can get input in this code?

thanks for guidance and help
Last edited on
Where do you read the data in?
in int main()

i don't know much. so that's why i am asking.

thnx for help
You don't actually read anything in.

Check out this I/O tutorial, it's not perfect but it's a start: http://www.cplusplus.com/doc/tutorial/files/
no.
i want to get input from user not from file.
this code is not written by me. i am practicing and try to learning cpp. can you modify the code?
and write how to get input from user.
ok i got your meaning.
i need to input from output file, these list numbers, but how to do it? i don't know.
Topic archived. No new replies allowed.