相关分类: Java技术 C/C++ VB delphi
  • STM32F4使用FPU+DSP库进行FFT运算的测试过程一

    测试环境:单片机:STM32F407ZGT6 IDE:Keil5.20.0.0 固件库版本:STM32F4xx_DSP_StdPeriph_Lib_V1.4.0 第一部分:使用 源码文件 的方式,使用void arm_cfft_radix4_f32(const arm_cfft_radix4_instance_f32 * S,float32_t * pSrc)函数进行FFT运算。 准备空工程,配置K...

    2018-06-18 03:51:27 cms

  • 杭电ACM1013

    Digital Roots Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 74529Accepted Submission(s): 23232 Problem Description The digital root of a positive integer is found by summing the digits of the in...

    2018-06-18 03:51:26

  • C语言 统计一篇英文短文中单词的个数

    //凯鲁嘎吉 - 博客园http://www.cnblogs.com/kailugaji/ 1 #includestdio.h 2 #define N 1000 3 void main(){ 4 char en[N][ 81 ]; 5 int i,j,num= 0 ,n,state; 6 // num 用来统计单词的个数 7 // state 用来记录程序当前是否处于一个单词之中,初值为0,表示不在单词...

    2018-06-18 03:51:21

  • c语言基础知识

    变量: 变量相当于存储各种数据类型的容器,它的数据类型处决于接收的是什么样的数据 计算机读取各种数据类型的方式是不一样的,所以定义数据类型的数据和变量得是相互对应的 进制: l 碾( nian)除法:十进制转为几进制则除几,从下往上看余数 (十进制转二进制,十...

    2018-06-18 03:51:20

  • C语言 统计一串字符中空格键、Tab键、回车键、字母、

    //凯鲁嘎吉 - 博客园http://www.cnblogs.com/kailugaji/ 1 #includestdio.h 2 3 void main(){ 4 int c, letter= 0 , num= 0 , blank= 0 , tab= 0 , enter= 0 , other= 0 ,i= 0 , sum= 0 ; 5 printf( " Please input a string:\n " ); 6 while ((c=getchar())!= EOF){ 7...

    2018-06-18 03:51:15

  • webbench1.5源码读后总结

    webbench简介 webbench由C语言写成的用于网站压力测试的一个非常简单的工具,它最多可以模拟30000个并发连接去进行测试。 webbench的安装和使用可以自行百度,也可以过下这篇文章。 webbench执行流程 命令行解析 -- 构建HTTP请求包 -- 创建指定数量的工作进程 -- 每个...

    2018-06-18 03:51:14

  • C语言 矩阵的转置及矩阵的乘法

    //凯鲁嘎吉 - 博客园http://www.cnblogs.com/kailugaji/ 1.矩阵的转置 1 #includestdio.h 2 #define N 2 3 #define M 3 4 void main(){ 5 int i,j,a[N][M],b[M][N]; 6 // 从键盘输入矩阵a 7 for (i= 0 ;iN;i++ ){ 8 for (j= 0 ;jM;j++ ){ 9 printf( " a[%d][%d]= " ,i,...

    2018-06-18 03:51:10

  • C Primer Plus 半抄书式笔记(一)

    #include stdio.h int main ( void ){ int num;num = 1 ;printf( " I am a simple " );printf( " computer.\n " );printf( " My favorite number is %d because it is first.\n " ,num); return 0 ;} 运行结果为: I am a simplecomputer.My favorite number is 1 beca...

    2018-06-18 03:51:10

  • C语言 一个数学问题:求s=(a^m)!+(b^n)!

    求s=(a m )!+(b n )! //凯鲁嘎吉 - 博客园http://www.cnblogs.com/kailugaji/ 1 #includestdio.h 2 void main(){ 3 int a, b, m, n, a_m, b_n, sum, power( int , int ), fact( int ), add( int , int ); 4 printf( " Please input a, m, b, n :\n " ); 5 scanf( " %d...

    2018-06-18 03:51:08

  • C语言 投票系统:给定候选人,从键盘输入候选人的名字

    投票系统:给定候选人名单,从键盘输入候选人的名字,统计票数,并输出最终获胜者。若投票人输入的名字不在其候选名单上,则该票数无效。 //凯鲁嘎吉 - 博客园http://www.cnblogs.com/kailugaji/ 1 #includestdio.h 2 #include string .h 3 #define NUM 10 // 投票的人...

    2018-06-18 03:51:03

2