editable console prompt 
Author Message
 editable console prompt

Hi all

        how can I write an editable string to stdout and let the user edit, press enter and read it back as a string.


        cout << "Please enter product name: ";
        //some code to write a default string
        //user will edit and press enter
        cin.getline(strInput); //some other function than cin
                               //perhaps ?
        //etc, etc

YH Chyr

Fri, 05 Apr 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Console Application Prompts

2. Combobox - changing between editable and non-editable

3. Running Console process without console ?

4. Executing a console application without it opening a console

5. Starting a console application without the console window

6. Building a Console Program without the Console Window (HELP)

7. clear console screen, and sleep() functions in the console window

8. how to use a console window in a win32 application..-- not console application

9. Console control in console application

10. Invoking a console app and hiding the console.

11. console application pauses when mouse clicks inside the console

12. Console o/p from windows application (not in new console)


Powered by phpBB® Forum Software