摘要:
LARGE_INTEGERLARGE_INTEGER是union;用于表示一64位有符号整数值.其他定义如下:View Code typedef union _LARGE_INTEGER { struct { DWORD LowPart; LONG HighPart; }; LONGLONG QuadPart; } LARGE_INTEGER; 如果你有编译器直接支持64位整数可以直接使用QuadPart(64... 阅读全文
摘要:
头文件:#include <iostream>#include <iomanip>using namespace std;功能:std::setw :需要填充多少个字符,默认填充的字符为' '空格std::setfill:设置std::setw将填充什么样的字符,如:std::setfill('*')示例:View Code #include <stdio.h>#include <tchar.h>#include <iostream>#include <iomanip>int _tmain( 阅读全文