h***@cis.ohio-state.edu
2005-05-24 03:20:36 UTC
I was confused on how the address is to be inputed by the user....In the Lab
3 handout, it says that we are supposed to use getchar to bring in
characters, one at a time, from the user......So if the user wants to input
the address 1A, we would implement the following in the hex_in subroutine?
getchar
1
getchar
A
or would we do this.........
getchar
1A
I understand the second technique i mentioned, but am confused if we are
someone supposed to use the first technique
3 handout, it says that we are supposed to use getchar to bring in
characters, one at a time, from the user......So if the user wants to input
the address 1A, we would implement the following in the hex_in subroutine?
getchar
1
getchar
A
or would we do this.........
getchar
1A
I understand the second technique i mentioned, but am confused if we are
someone supposed to use the first technique