Exemplo n.º 1
0
void main (void) 
{
  books zen;
  zen.pages = 400;
  zen.price = 4.99;
  printf("Zen costs ");
  ShowPrice(zen);
}
Exemplo n.º 2
0
void __fastcall TForm1::chkNoClick(TObject *Sender)
{
        ShowPrice();
        if(chkNo->Checked)
        {
                //chkNo->Checked = false;
                txtNo->Enabled = true;
                return;
        }
        //chkNo->Checked = true;
        txtNo->Enabled = false;
}
Exemplo n.º 3
0
void __fastcall TForm1::txtNoChange(TObject *Sender)
{
        ShowPrice();        
}
Exemplo n.º 4
0
void __fastcall TForm1::txtPriceEnter(TObject *Sender)
{
        ShowPrice();
}