Droplet Lagrangian Transient One-dimensional Reacting Code Implementation of both liquid and gas phase governing equations.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

19 行
219B

  1. #include<stdio.h>
  2. int main(){
  3. size_t N=10;
  4. double a[N];
  5. FILE *fp;
  6. fp=fopen("restart.bin","r");
  7. fread(a,sizeof(a),1,fp);
  8. fclose(fp);
  9. for (int i = 0; i < N; i++) {
  10. printf("%15.6e\n", a[i]);
  11. }
  12. return(0);
  13. }