|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
Assembly - Inputting a String With GetCh
For an assignment I have to have the user input a string w/o GetStr. I know how to "technically" do this on all but two levels.
Is there a clever way to determine when a string is done being entered? So they're all on one line instead of A l e x like that? Also how should I check to see that the string is over? |
|
#2
|
|||
|
|||
|
How do you define "done being entered"? End of line? End of file? White space?
|
|
#3
|
||||
|
||||
|
Quote:
Like the string is over. End of line preferably. Is there a way to use GetCh to simulate GetStr? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > Assembly - Inputting a String With GetCh |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|