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 80
下载积分: 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 个回复

  • caany
    数字图像处理程序,完成卡尼边缘检测数字图像处理算法可对数字图像实现边缘检测(Digital image processing program, complete Carney digital image processing algorithm for edge detection can be achieved on the digital image edge detection)
    2011-05-30 22:44:41下载
    积分:1
  • mymatlab
    钢筋、火柴根数的统计,阈值分割、直线检测,hough变换(Steel, matches the statistical number of roots, threshold segmentation, line detection, hough transform)
    2020-12-23 17:29:06下载
    积分:1
  • au8522_decoder
    Auvitek AU8522 QAM 8VSB demodulator driver and video decoder.
    2014-09-21 19:50:00下载
    积分:1
  • matlab动力学分析程序详解
    duffing方程相关程序,方程求解,时间历程绘制,相图及庞加莱映射图(duffing, Poincare,phase diagram)
    2019-01-16 15:31:01下载
    积分:1
  • KL_nmf
    基于KL散度的NMF算法的实现,收敛性证明可以参考:Lee D D, Seung H S. Algorithms for Non-negative Matrix Factorization[C]// NIPS. 2000:556--562.(Implementation of NMF algorithm based on KL distance)
    2018-11-13 17:26:03下载
    积分:1
  • s
    说明:  MatlabGUI太阳辐射定标数据处理平台设计solar radiation data (MatlabGUI calibration of solar radiation data processing platform)
    2011-03-25 19:24:48下载
    积分:1
  • DTMF
    自己用matlab编的语音合成识别程序,验证好使。(Yourself using matlab speech synthesis recognition program, verify so.)
    2020-12-17 19:29:11下载
    积分:1
  • nibian
    一个三相电机方波120逆变程序 占空比 未用到spwm(A Square Wave 120 Inverter Program for Three-phase Motor Duty cycle Unused SPWM)
    2018-12-12 08:37:49下载
    积分:1
  • 视网膜血管提取使用一行代码
    应用背景此代码有助于N彩色眼底视网膜图像血管提取。该文件还包括视网膜图像和MATLAB文件。刚刚打开线M文件和享受!关键技术通过此代码,您可以提取彩色眼底视网膜图像血管。
    2022-02-20 19:55:35下载
    积分:1
  • [emuch.net]Matlab
    Matlab陀螺仪仿真,里面有GUI仿真以及M文件,可根据需要自行改变运动轨迹(Matlab simulation, a gyroscope simulation and M file, there is a GUI can be according to the need to change the trajectory )
    2014-06-21 13:59:57下载
    积分:1
  • 696518资源总数
  • 105935会员总数
  • 25今日下载