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 <windows.h>
#pragma comment(lib, "winmm.lib")
using namespace std;
int main( )
{
DWORD time1 = timeGetTime();
cin.get();
DWORD time2 = timeGetTime();
cout<< "Vergangen sind: "<< (time2 - time1) / 1000<<" Sekunden";
cin.get();
return 0;
}
#include <stdio.h>
#include <conio.h>
#include <time.h>
int main()
{
clock_t start, finish;
double laufzeit;
start = clock();
getch();
finish = clock();
laufzeit = (double)(finish - start) / CLOCKS_PER_SEC;
printf( "%2.5f Sekunden\n", laufzeit );
return 0;
}