I'm really sorry i didn't mean to have my job done by you. And thanks a lot for your help and spending out your time.
A signal is emitted from "readyReadStandardOutput" and when i "qDebug" the process i can get only the first value i.e; "0" in the output .
#include<stdio.h>
#include<stdlib.h>
void main()
{
int i;
for(i=0;i<101;i++)
{
fflush(stdout);
printf("%d",i);
fflush(stdout);
}
}
#include<stdio.h>
#include<stdlib.h>
void main()
{
int i;
for(i=0;i<101;i++)
{
fflush(stdout);
printf("%d",i);
fflush(stdout);
}
}
To copy to clipboard, switch view to plain text mode
this is my C code that prints the values, and i tried to process it with QProcess but my output shows only the first value. And i hope that i would get some help from you.. Thanks a lot.
Bookmarks