登录
首页 » 算法 » C经典代码大全

C经典代码大全

于 2022-04-01 发布 文件大小:24.32 kB
0 245
下载积分: 2 下载次数: 1

代码说明:

一些C编程语言经典编程题目,希望对大家有用。#include int main(void) { unsigned int i = 0x12345678; char*pc =(char*)&i; printf("0x%x ", *pc); double *pd = (double*)&i; printf("%f ", *pd); printf("sizeof pc = %d sizeof pd = %d ", sizeof(pc), sizeof(pd)); return 0; }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 生成序列的人工数据集
    这是一款IBM大牛开发的用于论文里面实验验证用的人工数据集,可以产生项集,也可以产生序列,里面有readme文件,写着怎么使用呢,在windows下的命令行里运行就可以。
    2022-03-26 05:17:28下载
    积分:1
  • 大学里数学系必学的一们课程数值分析中的经典算法――――高斯消去法,在矩阵理论和线形代数及运筹学中有极高的重要性...
    大学里数学系必学的一们课程数值分析中的经典算法――――高斯消去法,在矩阵理论和线形代数及运筹学中有极高的重要性-University"s Department of Mathematics will study the courses have a numerical analysis of the classical algorithm-Gaussian elimination method, the matrix theory and linear algebra and tacticians are very high importance.
    2022-10-29 03:40:03下载
    积分:1
  • ANSYS
    关于 ansys 的一些实例源程序,希望对大家有用-ansys
    2022-11-23 02:35:03下载
    积分:1
  • 决策树分类算法
    本案例适合于初学者对python语言的掌握和熟练以及对决策树分类算法的初步模拟,使其对决策树算法的思想有一个更清晰的认识和理解,其中所用的数据集是Iris,并且里面附有整个算法流程的说明文档,更有利于大家的理解,希望能够帮助到其他人。
    2022-03-21 09:06:19下载
    积分:1
  • Molgedey和舒斯特去相关算法,具有方形混合矩阵A。
    The Molgedey and Schuster decorrelation algorithm, having square mixing matrix and no noise . Truncation is used for the time shifted matrix, and it is forced to be symmetric . The delay Tau is estimated . The number of independent components are calculated using Bayes Information Criterion (BIC), with PCA for dimension reduction.-The Molgedey and Schuster decorrelation algorithm, having square mixing matrix and no noise . Truncation is used for the time shifted matrix, and it is forced to be symmetric . The delay Tau is estimated . The number of independent components are calculated using Bayes Information Criterion (BIC), with PCA for dimension reduction.
    2022-03-17 02:59:15下载
    积分:1
  • 数字带通滤波器的设计过程。共3个源程序。其中,dos.cpp为带通FIR的源程序,其中的滤波器阶数n,滤波器的低频fln,滤波器的高频fhn,窗函数w,可以按照...
    数字带通滤波器的设计过程。共3个源程序。其中,dos.cpp为带通FIR的源程序,其中的滤波器阶数n,滤波器的低频fln,滤波器的高频fhn,窗函数w,可以按照自己的要求改变。这里采用的是汉宁窗。主函数main.cpp实现输入与fir的h(n)的卷积,输出结果Y(n),并将其存储在y.txt中。最后,graphics.cpp从y.txt读取数据,再由语句画出波形,可以清楚地看出计算结果是否正确,并进行比较。-digital band-pass filter design process. A total of three sources. Among them, dos.cpp FIR bandpass to the source, the filter order n, the low-frequency filter FLN, the high-frequency filter fhn, window function w, in accordance with the requirements change. Here is the Hanning window. The main function main.cpp achieve the input and fir h (n) convolution, the output Y (n), and store them in y.txt China. Finally, graphics.cpp y.txt read data from and then draw waveform statement, we can clearly see whether calculations are correct, and comparisons.
    2022-01-24 14:42:03下载
    积分:1
  • 音乐识别
    音高的提取,实现音乐的音高提取,在用语言将一首音乐里的音乐特性提取出来。
    2022-12-28 23:10:03下载
    积分:1
  • MK-V0.41无刷无感电调
    资源描述MK-V0.41无刷无感电调源码,德国的源程序写得也很好,把M8发挥到了极致
    2022-02-20 12:07:32下载
    积分:1
  • 西电算法导论上机题
    算法导论第四次上机题,01背包回溯法
    2023-02-08 08:50:03下载
    积分:1
  • Dijkstra算法
    用C#实现的一种Dijkstra高效算法,有实例代码,可以参考一下。里面有一个类Dijkstragao,在Program的买你函数里有调用的实例。调用比较简单,好用。
    2022-01-25 15:34:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载