#include
#include
using namespace std;
int main(int argc, char* argv[])
{
DWORD dwLen = 511;
DWORD dwAlign = 1024;
DWORD dwLenResult = (dwLen+dwAlign-1)/dwAlign*dwAlign;
//DWORD dwLenResult = (dwLen & ~(dwAlign-1)) +dwAlign;
cout<" 对齐之后:"<endl;
return 0;
}