Text in ASCII umwandeln
-
Hi,
wie kann ich Text in ASCII umwandeln? Ich benutze den Borland C++ Builder 5.
Wäre net, wenn ihr mir helfen könntet.euer Apf3l
-
Du meinst so was?
string foo = "bar"; for(int i = 0; i < foo.length(); ++i) { cout << static_cast<int>(foo[i]) << endl; }
-
ne, eher sowas:
int Eingabe=StrToInt(edt_Eingabe->Text);
int Ausgabe;.
.
.
umwandeln
.
.
.lb_Ausgabe->Items->Add(Ausgabe);
Also auf ner windowsoberfläche mit Eingabefeld und ListBox als Ausgabe.
-
Für sowas solltest du mal im "Borland C++ Builder" Forum vorbeischauen und dort fragen. Das hier ist das "Standard-C++-Forum"
Caipi