Answers for "how to find c++ program compilation time"

C++
0

See Compilation Time in c++ Program

#include <bits/stdc++.h>
#include<chrono>
using namespace std;
auto start = chrono::steady_clock::now();

int main(){
	
    cout<<"My name is Devil"<<endl;

    auto end= chrono::steady_clock::now();
    auto diff = end - start;
    cout<<chrono::duration<double,milli>(diff).count()<<" ms"<<endl;
    return 0;
}
Posted by: Guest on September-11-2021

Code answers related to "how to find c++ program compilation time"

Browse Popular Code Answers by Language