Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
char* dreinuller (unsigned short arg) {
char ret[3];
if (arg < 10) {
sprintf (ret, "00%d", arg);
} else {
if (arg < 100) {
sprintf (ret, "0%d", arg);
} else {
sprintf (ret, "%d", arg);
}
}
return ret;
}
int main (int argc, char *argv[]) {
cout << "Fuellen - Demo..." << endl;
cout << "Status: 000";
for (unsigned short i = 1; i <= 100; i++) {
cout << "\b\b\b" << dreinuller(i);
}
cout << endl;
system ("PAUSE");
return 0;
}