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

  • yuyinchuli
    对语音进行简单处理 FFT变换 消噪等 含完整matlab文件和wav语音文件 (Simple voice processing such as FFT transform denoising matlab file containing a complete and wav sound files)
    2011-01-07 13:03:03下载
    积分:1
  • 一种基于matlab的遗传规划编码程序 其中包含交叉和变异的代码...
    一种基于matlab的遗传规划编码程序 其中包含交叉和变异的代码-Based on the genetic programming matlab coding procedures of crossover and mutation which contains the code
    2023-07-23 18:25:03下载
    积分:1
  • Performance
    these are the important ieee papers of bidirectional dc dc converter for reneweble energy storage systems
    2010-11-10 03:05:24下载
    积分:1
  • AmbiguityFunction
    说明:  建立并绘制任意信号的模糊函数。已在巴克码,线性调频,脉冲信号中测试过。(This program estimates and plots the ambiguity function for any signals. I have tested it for the Barker code, chirp signal, pulse signal. for good results the length of the input vector (Ut)should be more than 7. Example- a rectangular pulse should be described as[1 1 1 1 1 1 1]. Please, give your suggestions. it is made with the help of "xcorr" function (Author: R. Losada) in MATLAB and Ilia Iliev from TU-Sofia )
    2010-04-02 20:07:29下载
    积分:1
  • sldemo_antiwindup
    Explores the anti-windup capabilities supported by the PID Controller block in Simulink.
    2013-07-31 20:29:01下载
    积分:1
  • Matlab_6.5
    MATLAB 6.5 的教科书,对应上传的6.5代码学习。从基础讲解其功能,语法,运算函数,图像处理,等,经典的学习材料,并且用MATLAB 写的源代码(textbooks corresponds to the 6.5 code upload learning. From the foundation to explain its function, grammar, arithmetic function, image processing, etc., classical learning materials MATLAB and write source code)
    2007-04-11 02:11:32下载
    积分:1
  • Steganography1
    正负1隐写matlab实现,虽然简单但很使用(Steganography matlab achieve plus or minus 1)
    2010-11-10 16:39:50下载
    积分:1
  • PWM3
    双极性PWM整流,整流结果电流电压同相位(Bipolar PWM rectifier)
    2011-05-11 14:56:43下载
    积分:1
  • suijizikongjian
    随机子空间的matlab主程序代码,可以实现高精度的信号辨识。按照《基于随机子空间和最小二乘法的介质损耗角测量方法》、常军博士论文《随机子空间方法在桥梁模态参数辨识中的应用研究》编写。(Stochastic subspace matlab main code, you can achieve high-precision recognition. Accordance with the " stochastic subspace-based least-squares method and dielectric loss angle measurement methods" , regular army doctoral thesis " stochastic subspace identification of modal parameters of the bridge in the applied research" to write.)
    2021-05-08 23:28:40下载
    积分:1
  • gps-weiner
    维纳滤波与功率倒置阵比较,应用环境为GPS信号抗干扰(comparing weiner filer and power inversion array)
    2021-03-21 18:49:16下载
    积分:1
  • 696516资源总数
  • 106461会员总数
  • 1今日下载