Hi guys....
Im usin Qt 3.3.8 for designing a GUI based editor for C/C++ programs.
I use QProcess for running the program
For reading output I use readLineStdout().It all works fine .But im not able to get the feel of Interaction---the program simply goes on getting input and then finally it prints the otput.....I'll explain u my situation...
This is what I expect when I run a program:
but this is what happens when I run the program:Program:Enter the number of strings
myself: 2
Prog:Enter the string 1
my:aaa
Prog:Echoed string:aaa
Prog:Enter the string 2
my:bbb
Prog:Echoed string:bbb
Now this is vat is my problem....Prog: [ Nothin appears(at this instant) in the Text edit thats designd for showing the output ]
my:2
my:aaa
my:bbb
Prog:Enter the string 1
Echoed string:aaa
Enter the string 2
Echoed string:bbb [all of these appear at a single instance]
Great ones shall HELP me
PLZZZZZZZZZZZZZZZZZZZ
Bookmarks