console string
Marz Krishna
Posts: 26
How do i get a string from the console into an array.
the program i wrote would store a string of 11 characters, but i couldn't figure out how to get the ret key to stop the string. i see some wierd code for the ret, but i'm not sure i implimented it correctly, ultimately i just want to be able to use null terminated strings from the text console.
i was using the debugin command with \L \E (\CR) for the end character, but i couldn't get the input to terminate after the carriage return, and would have to keep typing empty characters until i had 11 characters.
Post Edited (Marz Krishna) : 6/27/2009 9:35:30 PM GMT
the program i wrote would store a string of 11 characters, but i couldn't figure out how to get the ret key to stop the string. i see some wierd code for the ret, but i'm not sure i implimented it correctly, ultimately i just want to be able to use null terminated strings from the text console.
i was using the debugin command with \L \E (\CR) for the end character, but i couldn't get the input to terminate after the carriage return, and would have to keep typing empty characters until i had 11 characters.
Post Edited (Marz Krishna) : 6/27/2009 9:35:30 PM GMT
Comments
Jeff T.