#include #include #include "arv5.h" #include "arv4.h" int main(){ cout << "Testi algus" << endl; int algaeg=time(0); Arv5 a(0); for(long int nr=0; nr<1000000000; nr++){ a.suurenda(); } cout << "inline" << time(0)-algaeg << endl; algaeg=time(0); ARV b(0); for(long int nr=0; nr<1000000000; nr++){ b.suurenda(); } cout << "tavaline: " << time(0)-algaeg << endl; }