// file_operate_test.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "stdlib.h"
#include <string.h>
#include <stdio.h>
#define byte unsigned char
using namespace std;
typedef struct A{
unsigned int para1;
unsigned short para2;
unsigned int para3;
unsigned short para4;
}A;
int _tmain(int argc, _TCHAR* argv[])
{
// printf(“hello world!! sizeof = %d \n”,sizeof(int));
// system(“pause”);
//return 0;
int a[100];
byte *p;
int i = 0;
int j = 0;
A test4;
test4.para1 = 20;
test4.para2 = 15;
test4.para3 = 20;
test4.para4 = 15;
p = (byte*)(&test4);
FILE* fp