How to parse values

i think you need to write the code inside form and inside the form you will add some controls like StringEdit and button ...etc to read the values from this control :

void clicked()
{

    int                 Sum;
    ;
    
Sum=str2int( StringEdit.text()) + str2int(StringEdit1.text());
            info(int2str(
Sum));
    }
   
}

Note : write this code inside the click event of the button you add it inside the form 

Comments

Popular Posts