俄罗斯高人Mamaich的Pocket gcc编译器(运行在PocketPC上)的全部源代码。

源代码在线查看: f-16-30-15.c

软件大小: 36058 K
上传用户: horse2000
关键词: PocketPC Mamaich Pocket gcc
下载地址: 免注册下载 普通下载 VIP

相关代码

				#include 								struct sss{				  int i1:16;				  int i2:30;				  int i3:15;				};								static union u{				  struct sss sss;				  unsigned char a[sizeof (struct sss)];				} u;								int main (void) {				  int i;				  for (i = 0; i < sizeof (struct sss); i++)				    u.a[i] = 0;				  u.sss.i1 = 65535.0;				  for (i = 0; i < sizeof (struct sss); i++)				    printf ("%x ", u.a[i]);				  printf ("\n");				  u.sss.i2 = 1073741823.0;				  for (i = 0; i < sizeof (struct sss); i++)				    printf ("%x ", u.a[i]);				  printf ("\n");				  u.sss.i3 = 32767.0;				  for (i = 0; i < sizeof (struct sss); i++)				    printf ("%x ", u.a[i]);				  printf ("\n");				  return 0;				}							

相关资源