Question: 1. ReadString Implement your own version of the ReadString procedure, using stack parameters. Pass it a pointer to a string and an integer, indicating the
1. ReadString Implement your own version of the ReadString procedure, using stack parameters. Pass it a pointer to a string and an integer, indicating the maximum number of characters to be entered.
Return a count (in EAX) of the number of characters actually entered. The procedure must input a string from the console and insert a null byte at the end of the string (in the position occupied by 0Dh). See Section 11.1.4 for details on the Win32 ReadConsole function. Write a short program that tests your procedure.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
