#include #include using namespace std; time_t ti, tf; void testChar(); void testStr(); int main() { ti = clock(); for(int i = 0; i < 100; i++) { testChar(); } tf = clock(); cout<<"testChar "<<(tf - ti)<<" "<<(tf - ti)/CLOCKS_PER_SEC<