readt.c
来自「关于linux环境下的nasm代码的生成和使用」· C语言 代码 · 共 27 行
C
27 行
/* * file: readt.c * This program tests the 32-bit read_doubles() assembly procedure. * It reads the doubles from stdin. * (Use redirection to read from file.) */#include <stdio.h>#include "cdecl.h"extern int PRE_CDECL read_doubles( FILE *, double *, int ) POST_CDECL;#define MAX 100int main(){ int i,n; double a[MAX]; n = read_doubles(stdin, a, MAX); for( i=0; i < n; i++ ) printf("%3d %g\n", i, a[i]); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?