anothertestapp.c

来自「这是一个用TI DSP汇编语言编写的简单的例子程序」· C语言 代码 · 共 17 行

C
17
字号


// Description: Driver program that makes use of the average library function
//				to compute the average value of a set of integer data values

#include <stdio.h>

int main()
{
	int test_data[] = { 7, 13, 3, 25, 64, 15 };

	// call library functions
	printf( "The average value of the data is %d\n", averageValue(test_data, 5) );
		
	return 0;
}

⌨️ 快捷键说明

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