ЕЛ
Екатерина Люст
[С++] Помогите одну строчку Delphi перевести в С++
вот строка "if Key in [#8,'0'..'9'] then Key:=System.UpCase(Key) else Key:=#0;" помогите плиз
ну вот чтоб понятней было
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
begin
if Key in [#8,'0'..'9'] then Key:=System.UpCase(Key) else Key:=#0;
end;