HI how to print time in macro second also with the use of following function in c++, I am using,
time_t rawtime;
time(&rawtime);
std::cout<<"Cuuent TIme is :: "<< ctime(&rawtime)<< std::endl;
Above code will give me only hours, minutes and second. I also need the micro seconds. Any suggestion how to get time with micro seconds also?