Προς το περιεχόμενο

visual c++


INSOMNIA

Προτεινόμενες αναρτήσεις

Δημοσ.

voithiste me plz.exw psaxcei girw stis 10 wres sto net gia tutorials<BR>exw katevasei 3 online vivlia,exw agorasei 2 vivlia gia c/c++ kai xce-<BR>rw poli kala vbasic/pascal.thelw na ftiaxcw kati poli aplo kai den mporw.<BR>(pou stin vbasic to ematha mesa se 1 min)<P>gia paradeigma frown.gifoti pio aplo)<BR>----------------<BR>tha ithela na ftiaxcw ena programmataki (se visual c++ 6)<BR>(se perivallon windows.....)<BR>pou na exei dio Textboxes .esi na vazeis enan arithmo sto<BR>kathena kai na iparxei ena koumpi pou molis to patas na vgazei <BR>to athroisma tous.(p.x. vazei sto ena 2 kai sto allo 3,patas to koumpi <BR>kai sou vgazei 5...)<P><BR>(i peira mou exei deixcei)TIPOTA DEN EINAI DISKOLO,ARKEI<BR>EKEINOS POU STO EXCIGEI NA STO EXCIGEI KALA.<P>help me please<p>[This message has been edited by INSOMNIA (edited 10-05-2001).]

Δημοσ.

loipon...<BR>arxizeis me New kai dialegeis MFC AppWizard(exe). Meta dialegeis Dialog-based kai ola ta alla ta afhneis default. Sto telos bgaineis sto environment kai se ena adeio para8yro. Topo8eteis epanw toy dyo (h tria an 8es gia to result) edit boxes apo to controls panel. Mexri edw logika 8a ta exeis kanei fantazomai. Meta pas View->ClassWizard->Member Variables kai 8a deis th lista me te IDs twn edit boxes kai buttons. Kane px Add Variable sto IDC_EDIT1 kai vale onoma m_s1 typoy double. Kane to antistoixo kai sta alla edit boxes me m_s2 gia to deytero noumero kai m_sres gia to result. Twra feygeis kai pas kai kaneis diplo click sto Button (mporeis na tou alla3eis kai onoma px add apo ta properties) kai apla grafeis ta parakatw:<P>void CEx1Dlg::OnButton1() <BR>{<BR> UpdateData(TRUE);<BR> m_sres = m_s1 + m_s2;<BR> UpdateData(FALSE);<BR>}<P>gia perissoteres plhrofories kai kalytero paradigma phgaine sto biblio "Programming MS Visual C++", 5th edition ths Microsoft Press, pp. 557<P>elpizw na boh8hsa

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...