voidmain()(voidstrchange(char*p,intk)inttotal(char*q)intnchara[10],*str1str1=aprintf("Pleaseenterthestring:")scanf("s",str1)n=total(str1)strchange(str1,n)printf("s",str1)print("n"))inttotal(char*q)(intj,sum=0for(j=0*qj++,q++)sum=sum+1returnsum)voidstrchange(char*q,intk)(inti,j,rfor(i=0,j=k-1i<+ji++,j-)(r=*(q+i)*(q+i)=*(q-IMDN开发者社群-imdn.cn"> voidmain()(voidstrchange(char*p,intk)inttotal(char*q)intnchara[10],*str1str1=aprintf("Pleaseenterthestring:")scanf("s",str1)n=total(str1)strchange(str1,n)printf("s",str1)print("n"))inttotal(char*q)(intj,sum=0for(j=0*qj++,q++)sum=sum+1returnsum)voidstrchange(char*q,intk)(inti,j,rfor(i=0,j=k-1i<+ji++,j-)(r=*(q+i)*(q+i)=*(q - IMDN开发者社群-imdn.cn">
登录
首页 » Matlab » #包括<;stdio. h & gt;

#包括<;stdio. h & gt;

于 2022-03-10 发布 文件大小:650.00 B
0 105
下载积分: 2 下载次数: 1

代码说明:

#include void main(){ void strchange(char *p,int k) int total(char *q) int n char a[10],*str1 str1=a printf("请输入字符串:") scanf(" s",str1) n=total(str1) strchange(str1,n) printf(" s",str1) print(" ") } int total(char*q){ int j,sum=0 for(j=0 *q j++,q++) sum=sum+1 return sum } void strchange (char*q,int k){ int i,j,r for(i=0,j=k-1 i

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

发表评论

0 个回复

  • procoskun
    voice recognition in matlab
    2010-06-08 20:15:38下载
    积分:1
  • Tdcoorconvert
    根据读取到的已知控制点的坐标,计算在该区域内的平面转换五参数,该五参数不同于当前使用较多的四参数(According to the known control point to read the coordinates to calculate the plane in the region converted five parameters, the five parameters to use more different from the current four-parameter)
    2010-09-24 21:50:29下载
    积分:1
  • Lec14
    lecture of matlab note it used in mathcad
    2009-04-18 14:12:59下载
    积分:1
  • fdtd_2d_TM_3
    说明:  采用FDTD方法计算了2维光子晶体TM模的传播情况,能较直观的观察波形变化。(FDTD method using a 2-dimensional photonic crystal propagation of TM modes, can be more intuitive observation of the waveform changes.)
    2010-04-05 15:43:03下载
    积分:1
  • Beam-Analysis-Matlab-Codes
    Beam Analysis Matlab Codes
    2013-10-29 13:39:55下载
    积分:1
  • DemGdal
    使用Gdal读取DEM地震前后影像高程,并计算地震前后高程差,绘制地形变化(skyline Gdal)
    2021-01-01 13:38:58下载
    积分:1
  • 利用 Matlab 图像的峰值信噪比计算
    它可以用来计算原始图像的峰值信噪比和扭曲或分段的或加密的使用 Matlab 的灰度图像或彩色图像。在源代码中还提供了一步步的指南。
    2022-10-10 23:55:03下载
    积分:1
  • Kalman-target-tracking
    用Kalman滤波方法估计目标航迹的Matlab源程序(Kalman filtering method estimates the target track Matlab source)
    2013-01-12 16:03:02下载
    积分:1
  • CAKF
    容积卡尔曼滤波算法,可运行,与卡尔曼滤波算法比较,效果更好。(Volume Kalman filter algorithm can be run, compared with the Kalman filter algorithm, the better.)
    2013-11-28 17:16:40下载
    积分:1
  • levegrep
    此程序用于计算高光谱数据中Linear extrapolation法计算植被红边位置(This program used to calculate the spectral data Linear extrapolation method of vegetation red edge position)
    2010-08-21 09:42:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载