test_iasp.c

来自「基于IASP91地球模型计算地震波到时的程序」· C语言 代码 · 共 26 行

C
26
字号
/* * This source code is provided to test the installation of libiasp. * Depending on the directory specified for installation, * you should be able to compile this source with :   f77 -O -o test_iasp test_iasp.c -I$(prefixdir)/include/iasp -L(prefixdir)lib/ -liasp   and then run it : ./test_iasp*/#include <stdio.h>#include <iasp.h>struct ttime tt;main(){ wtptt("P",80.0,33.9,&tt);  printf("%f\n",tt.tt);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?