Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - How can I restrict the cursor not to go further...?
How can I restrict the cursor not to go further...i.e. when I carry out the program and the program waits for numbers or chars isertion, I want to allow just a determined number (for instance 4) of digits or chars to be entered. It won't allow me to enter the fifth char and will wait for ENTER. Thank you in advance, Alexandar Mar 17 2006
Alexandar wrote:How can I restrict the cursor not to go further...i.e. when I carry out the program and the program waits for numbers or chars isertion, I want to allow just a determined number (for instance 4) of digits or chars to be entered. It won't allow me to enter the fifth char and will wait for ENTER. Mar 17 2006
Bertel Brander wrote:Alexandar wrote:How can I restrict the cursor not to go further...i.e. when I carry out the program and the program waits for numbers or chars isertion, I want to allow just a determined number (for instance 4) of digits or chars to be entered. It won't allow me to enter the fifth char and will wait for ENTER. Mar 17 2006
|