Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
#include <iostream>
#include <iomanip>
#include <iterator>
#include <algorithm>
#include <string>
using namespace std;
int main() {
string text = "Hallo, das ist ein String.";
cout << hex << showbase;
copy(text.begin(), text.end(),
ostream_iterator<int>(cout, " "));
cout << endl;
}
0x48 0x61 0x6c 0x6c 0x6f 0x2c 0x20 0x64 0x61 0x73 0x20 0x69 0x73 0x74 0x20 0x65
0x69 0x6e 0x20 0x53 0x74 0x72 0x69 0x6e 0x67 0x2e
#include <stdio.h>
int main() {
char text[] = "Hallo, das ist ein String.";
char* p;
for (p = text; *p != '\0'; ++p) {
printf("0x%0.2x", (int)*p);
}
return 0;
}