Skocz do zawartości

ASCII i liczby....


Recommended Posts

Napisano

Jesli dobrze cie rozumiem to sprubuj tak:

int iZnak = 112;

//
char szBuffer[10];
sprintf(szBuffer, "%c", (char)iZnak);

//
SetWindowText(hEditControlHandle, szBuffer);

Ale to same podstawy, czyli castowanie (zmiana 1 typu na inny). Jesli chcesz sie tym zainteresowac na powaznie przeczytaj pare ksiazek, napewno takie i podobne probvlemy znikna :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gość
Odpowiedz...

×   Wkleiłeś zawartość bez formatowania.   Usuń formatowanie

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Utwórz nowe...