i inserted the data by keyboard.
note i faced this problem before when i tried to open file which is contained in a folder named by a right to left laguage when i tried to take the file name from argv[1] variable
of the main function and i solved this problem by using the following code
QString::fromLocal8Bit(arvg[1]);
and the problem is solved but when i tried to do this with current situation the compiler says
error C2664: 'QString::fromLocal8Bit' : cannot convert parameter 1 from 'QString' to 'const char *'
!!!!