| | | | | | | | | |
文本转语音功能仅限200个字符
ex:
struct _RUN_INFO_AS2
{
int a : 16; //
int b : 16 ;
int c;
};
_RUN_INFO_AS2 RunInfo2;
memset(&RunInfo2, 0, sizeof(RunInfo2));
printf("RunInfo2 size = %d\n", sizeof(RunInfo2));
struct CELL { // Declare CELL bit field unsigned short character : 8; // 00000000 ???????? unsigned short foreground : 3; // 00000??? 00000000 unsigned short intensity : 1; // 0000?000 00000000 unsigned short background : 3; // 0???0000 00000000 unsigned short blink : 1; // ?0000000 00000000 } screen[25][80]; // Array of bit fields
ref:
https://msdn.microsoft.com/zh-tw/library/64973255.aspx
沒有留言:
張貼留言