04B-CAD工程手册的数据处理技术课题.pptVIP

  • 1
  • 0
  • 约2.15千字
  • 约 22页
  • 2016-07-29 发布于湖北
  • 举报
工程手册的数据处理技术;数表的计算机处理;例1 某型号V带包角修正系数的程序化处理;例2 检索齿轮传动工况系数;#include stdio.h void main() { int i,j; float ka[3][3]={{1.0,1.25,1.75}, {1.25,1.50,2.00}, {1.50,1.75,2.25} }; while(1) { printf(”Input the load characteristics of engine(0,1,2)”) scanf(”%d”,i); if (i=0i=2)break; } while(1) { printf(”Input the load characteristics of machine(0,1,2)”) scanf(”%d”,j); if (j=0j=2)break; } printf(”the work state coeffiecient:%f”,ka[i][j]); };1.2 数表的文件化;#include stdio.h #define NUM 100 struct key_GB {float d1,d2,b,h,t,t

文档评论(0)

1亿VIP精品文档

相关文档