Results 1 to 19 of 19

Thread: Program not running exited with code 0

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Nov 2012
    Posts
    12
    Thanks
    7
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Program not running exited with code 0

    Sometimes it get entered to db and sometimes not.Will u please tell me wat the problem is?


    Added after 28 minutes:


    while entering the Ques it get parsed in the following code

    QString mainForm:arseQuestion(QString &stmt1)
    {
    QTextStream cout(stdout, QIODevice::WriteOnly);
    cout<<"It is coming inside the parse function"<<endl;
    stmt1=stmt1.replace( QChar('^'),QChar('<') );
    stmt1=stmt1.replace( QChar('~'),QChar('>') );
    stmt1=stmt1.replace( "{sub}","<sub>" );
    stmt1=stmt1.replace( "{/sub}","</sub>" );
    stmt1=stmt1.replace( "{sup}","<sup>" );
    stmt1=stmt1.replace( "{/sup}","</sup>" );
    return(stmt1);
    }

    And when the options get entered it is nt parsing in the "parseOption" function.
    The "parseOption" function also parses the Ques itself, and tat Ques is taken as the stmt value one by one and finally printing as the stmt as[].
    The option isprinting as []. Y its taking lik tis pls tell me
    Last edited by gayathrisekaran; 8th November 2012 at 13:01. Reason: updated contents

Similar Threads

  1. exited with code -1073741819
    By cic in forum Qt Programming
    Replies: 4
    Last Post: 11th November 2011, 23:39
  2. Running example project with mingw gives "... exited with code -1073741792" error
    By sibercekirge in forum Installation and Deployment
    Replies: 8
    Last Post: 31st May 2011, 17:33
  3. Program exited with code 03
    By Fallen_ in forum Qt Programming
    Replies: 1
    Last Post: 9th October 2010, 23:09
  4. name.exe exited with code 1.
    By Fallen_ in forum Qt Programming
    Replies: 2
    Last Post: 2nd September 2010, 01:17
  5. Replies: 8
    Last Post: 28th January 2010, 06:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.