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

C经典代码大全

于 2022-04-01 发布 文件大小:24.32 kB
0 211
下载积分: 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 个回复

  • 下棋的例子
    象棋是一个两个球员战略 棋盘游戏 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-02-15 07:47:41下载
    积分:1
  • FFT parallel code implementation in c
    FFT parallel code implementation in c
    2022-05-09 00:24:36下载
    积分:1
  • 长整形相加的程序,客队任意长度的数据进行相加,很值得学习...
    长整形相加的程序,客队任意长度的数据进行相加,很值得学习-long plastic procedures combined scoring arbitrary length of the data together, is worth learning.
    2023-05-11 11:25:03下载
    积分:1
  • odd N bands Demon Lineup : N
    奇数N 阶魔方阵问题: 奇数N 阶魔方阵的构造规则如下: 1、在第一行的正中间填入1; 2、如果左上角能够移动,则往左上角填入后继的数;如果左上角不 能移动,则顺移到该列最下方左边的一列中最靠近该列的位置; 3、如果左上角不能移动,同时在该列位置的最下方左边最靠近的位 置处也不能填入数,则往该位置的上一行的最右边的位置处填入 后继数; 4、每次尽可能地往左上角填数,如果发现左上角已经填满了数,则 从当前填的数的位置下方填上后继数。 要求: 无。 输入: 用户从键盘任意输入一个正奇数。 输出: 打印出该魔方阵。-odd N bands Demon Lineup : N-odd magic Lineup Construction Rules are as follows : 1, the first line is the middle of a preference; Two, if the upper left corner to Mobile, the successor to fill in the upper left; If the upper left corner, unable to move, with the move out of the bottom of the left one of the closest out of position; three, if the upper left corner, unable to move, while in the position shown in the bottom left nearest location Department has not entered a few, to the position of the party on the right side of the positions filled successor; 4, each possible to fill the upper left corner, if fill the upper left corner, has found a few, from the current fill several positions to fill in the bottom subsequent few. Requ
    2022-01-21 19:39:47下载
    积分:1
  • 完整的仿真和串口编程的可控硅项目
    完整的模拟和三端双向可控硅项目MIKROC编程先模拟使用的OrCAD然后用编程的C代码使用变形第三模拟
    2022-04-11 05:33:01下载
    积分:1
  • 常用的矩阵变换C代码
    常用的矩阵变换C代码,复矩阵乘法、矩阵的转置、全选主元高斯-约当法、对称正定矩阵的求逆、 求行列式值的全选主元高斯消去法、矩阵的三角分解、一般实矩阵的QR分解,奇异值分解
    2023-01-12 08:45:04下载
    积分:1
  • 1 读入一个整数,将各个数位上的数拆分下来并输出(从高位到低位)。
    1 读入一个整数,将各个数位上的数拆分下来并输出(从高位到低位)。
    2022-01-22 07:49:13下载
    积分:1
  • 主要的
    列主元法求解高次线性方程-main-element method high linear equations
    2022-03-23 22:38:38下载
    积分:1
  • opencv实例源代码.rar
    资源描述 ,opencv实例源代码里面包含的基于opencv的光流法程序和实现功能为图像平滑、图像缩小与Canny 边缘检测。三、用 DirectShow 编制的视频采集程序 。
    2023-02-04 02:55:10下载
    积分:1
  • ids classification algorithms csharp
    ids classification algorithms csharp-ids classification algorithms csharp
    2022-03-18 23:19:29下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载