未知类型的bug--bug1
来源:互联网 发布:慢跑 知乎 编辑:程序博客网 时间:2024/05/07 09:48
c com[comset]; int comsetcount; for (comsetcount = 0; comsetcount < 50; comsetcount++) { com[comsetcount].computerset = comsetcount + 1; int statecount = 0; for (; statecount < 6; statecount++) { com[comsetcount].state[statecount] = 0; } } FILE *coma; coma = fopen("com.txt", "w"); fwrite(com, sizeof(c), 50, coma); fclose(coma); FILE *fp; c comtest[50]; fp = fopen("com.txt", "r"); fread(comtest, sizeof(c), 50, fp); fclose(fp); int i; for (i = 0; i < 50; i++) printf("%d\n", comtest[i].computerset);
输出:1
2
….
25
-858993360
-858993360
无语法错误,谁能告诉我,为什么?泪。。。。。
0 0
- 未知类型的bug--bug1
- JAVA_OA(bug篇)(一):SpringMVC的bug1
- BUG1
- bug1
- 容器的缺点:未知类型
- 容器的缺点:未知类型
- 传递未知个数的同类型参数
- java 求得未知数据的类型
- 未知的类型名‘ulong_t’解决
- 定义一个未知类型的数据
- 收集一些未知Bug。
- innerHTML属性导致未知的运行时错误ie bug
- 减少和发现未知的bug: 方案征集
- 减少和发现未知的bug: 方案征集
- spring boot:使用Thymeleaf+Amaze UI出现的未知BUG
- Bug的类型
- Bug的类型
- Bug的类型
- APK源码查看|反编译
- QQ安全相关问题
- Python学习(2)
- chardet demo
- UIView不重载init的问题
- 未知类型的bug--bug1
- Python学习(4)
- Android-PullToRefresh的用法 及源码中你应该知道的一些东西
- js confirm()方法的用法
- Struts中OGNL表达式的作用
- 自定义浏览器滚动条的样式,打造属于你的滚动条风格
- Python在线编码导致命令执行
- 解释器模式(Interpreter)
- HI3520D 音频