Programlama | Programlama Dilleri | C Programlama Dili |C++

Hata
  • XML Parsing Error at 1:82. Error 9: Invalid character


Bas?lan Tu?un Kodunu Görme

AÇIKLAMA

 A?a??daki program klavyeden bas?lan tu?un ASCII de?erini göstermeye yarar.

 

Program Kodu:

  1. //---------------------------------------------------------------------------
  2.  
  3. #include <vcl.h>
  4. #pragma hdrstop
  5.  
  6. #include "Unit1.h"
  7. //---------------------------------------------------------------------------
  8. #pragma package(smart_init)
  9. #pragma resource "*.dfm"
  10. TForm1 *Form1;
  11. //---------------------------------------------------------------------------
  12. __fastcall TForm1::TForm1(TComponent* Owner)
  13.         : TForm(Owner)
  14. {
  15. }
  16. //---------------------------------------------------------------------------
  17.  
  18. void __fastcall TForm1::Edit1KeyDown(TObject *Sender, WORD &Key,
  19.       TShiftState Shift)
  20. {
  21. ShowMessage("Bast???n?z tu?un kodu  :"+AnsiString(Key)+"Kar??l???:"+AnsiString(Char(Key)));      
  22. }
  23. //---------------------------------------------------------------------------
  24.  

Yorumlar (0)
Sadece kayıtlı kullanıcılar yorum yazabilir!
Son Güncelleme ( Perşembe, 07 Nisan 2011 22:59 )  
404 Not Found

404

Not Found

The resource requested could not be found on this server!


Proudly powered by LiteSpeed Web Server

Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.