当前位置: 代码迷 >> stData的解决方案
 
  • 请教大家个问题.关于位赋值的问题,谢谢了

    请教大家个问题.关于位赋值的问题,谢谢了 typedefstructData_s{unsignedintulData1:2;unsignedintulData2:12;unsignedint:2;}Data_s; intmain(){Data_sstData;unsignedint*pData;memset((void*)&stData,0,sizeof(Dat...

    158
    热度
  • c#怎么读取结构体文件

    c#如何读取结构体文件我有一个二进制结构体文件:格式为:typedefstruct{ charSTDATA[9]; charSTIME[7]; intMONI_FLAG; intAL_NO;}RADAR;如果我想用C#读这个结构体怎么读呢,想以结构体的形式读,谢谢!color='#FF8000'>------解决思路----------------------直接用iostream读取到字节数组...

    178
    热度
上一页1下一页