[quote=引用 6 楼 hithink 的回复:] [quote=引用 2 楼 zhao4zhong1 的回复:] 小伙子,你这是微秒好不啦! 毫秒: #include <sys/timeb.h> struct timeb tb; ftime(&tb); printf(".%03d",tb.millitm);
#include <sys/timeb.h> struct timeb tb; ftime(&tb); printf(".%03d",tb.millitm);
好吧,VC++里也有~~~
老赵你用的VC太老,高版本里没有timeb.h,移到windows sdk里了
C++Builder和MinGW有,VC++和intel c++没有
[quote=引用 2 楼 zhao4zhong1 的回复:] 小伙子,你这是微秒好不啦! 毫秒: #include <sys/timeb.h> struct timeb tb; ftime(&tb); printf(".%03d",tb.millitm);
小伙子,你这是微秒好不啦! 毫秒: #include <sys/timeb.h> struct timeb tb; ftime(&tb); printf(".%03d",tb.millitm);
64,649
社区成员
250,477
社区内容
加载中
试试用AI创作助手写篇文章吧