登录
首页 » Others » 输入一页文字,程序可以统计出文字、数字、空格的个数。

输入一页文字,程序可以统计出文字、数字、空格的个数。

于 2020-12-05 发布
0 620
下载积分: 1 下载次数: 2

代码说明:

输入一页文字,程序可以统计出文字、数字、空格的个数。   静态存储一页文章,每行最多不超过80个字符,共N行;要求(1)分别统计出其中英文字母数和空格数及整篇文章总字数;(2)统计某一字符串在文章中出现的次数,并输出该次数;(3)删除某一子串,并将后面的字符前移。   存储结构使用线性表,分别用几个子函数实现相应的功能;   输入数据的形式和范围:可以输入大写、小写的英文字母、任何数字及标点符号。   输出形式:(1)分行输出用户输入的各行字符;(2)分4行输出"全部字母数"、"数字个数"、"空格个数"、"文章总字数"(3)输出删除某一字符串后的文章;

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

发表评论

0 个回复

  • MATLAB实现电力系统牛顿拉弗逊法潮流计算代码
    MATLAB实现电力系统牛顿拉弗逊法潮流计算此代码简单易懂,而且加了注释。对于学习电力系统计算机计算潮流和毕业设计很有帮助,
    2020-11-02下载
    积分:1
  • 将二进小波变换用于图像增强的MATLAB代码
    将二进小波变换用于图像增强的MATLAB代码。
    2020-11-29下载
    积分:1
  • matlab二代身份证文字数字切割识别
    用matlab实现的一个基于连通域方法切割出二代身份证上数字和汉字并且运用模板法进行识别的程序,效果还可以~文档里面包含了课程的实验报告还有关于连通域切割的一篇论文,我就是基于这个论文写的程序!
    2020-11-28下载
    积分:1
  • RBF神经网络对iris分类
    RBF神经网络实现对iris分类,包含iris数据集,及对数据的分析。
    2020-12-04下载
    积分:1
  • 数值分析实验指导(共八个)
    【实例简介】提供了数值分析实验的八个实验,可供参考。实验一 函数插值方法;实验二 函数逼近与曲线拟合;实验三 数值积分与数值微分;实验四 线方程组的直接解法等等
    2021-11-02 00:41:15下载
    积分:1
  • 《ONVIF协议网络摄像机(IPC)客户端序开发》专栏的示例代码
    这是我博客专栏文章《ONVIF协议网络摄像机(IPC)客户端程序开发》中附带的示例代码。博客:http://blog.csdn.net/benkaoya专栏:http://blog.csdn.net/benkaoya/article/details/72424335
    2021-05-06下载
    积分:1
  • LBFGS开源代码
    实现Logistic Regression的开源代码,LBFGS应该是目前普遍被采用的一种方法,代码简洁,注释详细,不得不拥有!
    2020-12-11下载
    积分:1
  • matlab ML 仿真
    正在学习中 可运行的matlab ml算法 程序 。我在下载资源里面没搜到,说明我这是独家啊 希望对大家有用
    2020-12-03下载
    积分:1
  • Adaptive Filters
    自适应滤波器的权威Sayed的大作,用大量的实例诠释自适应滤波器的各种算法原理,是不可多得的好书。ADAPTIVE FILTERSADAPTIVE FILTERSALIH SAYEDUniversity of California at Los Angeles◆旧EEEIEEE PressWIlEYNTERSCIENCEA JOHN WILEY SONS, INC, PUBLICATIONCover design by Michael RutkowskiCopyright C 2008 by John Wiley Sons, Inc. All rights reservedPublished by John Wiley Sons, Inc, Hoboken, New JerseyPublished simultaneously in CanadaNo part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or bymeans, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under anySection 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of thePublisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center,Inc, 222 Rosewood Drive, Danvers, MA01923, (978)750-8400, fax(978)750-4470, or on the web atwww.copyright.comRequeststothePublisherforpermissionshouldbeaddressedtothePermissionsDepartment, John Wiley sons, Inc, 111 River Street, Hoboken, NJ,(201)748-6011, fax(201)748-6008,oronlineathttp:/www.wiley.com/go/permissionLimit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts inpreparing this book, they make no representations or warranties with respect to the accuracy or completeness ofe contents of this book and specifically disclaim any implied warranties of merchantability or fitness for aarticular purpose. No warranty may be created or extended by sales representatives or written sales materialsThe advice and strategies contained herein may not be suitable for your situation. You should consult with aprofessional where appropriate. Neither the publisher nor author shall be liable for any loss of profit or anyother commercial damages, including but not limited to special, incidental, consequential, or other damagesFor general information on our other products and services or for technical support, please contact our CustomerCare Department within the United States at(800)762-2974, outside the United States at (317)572-3993 or fax(317)572-4002Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not beavailable in electronic formats. For more information about wiley products, visit our web site atwww.wlley.conLibrary of Congress Cataloging-in-Publication Data:Sayed, Ali hAdaptive filters/Ali H. Sayedp cmIncludes bibliographical references and indexISBN9780470-25388-5( cloth)Adaptive filters. I. TitleTK7872F5s285200862138l5324dc222008003731Printed in the united states of america10987654321To my parentsContentsPrefacexviiNotationXXVAcknowledgmentsXXXBACKGROUND MATERIALA Random variablesA 1 Variance of a random variableA2 Dependent random VariablesA3 Complex-Valued Random VariablesA 4 Vector -Valued Random variables3467A.5 Gaussian Random VectorsB Linear Algebra12B. Hermitian and Positive- Definite matricesB 2 Range spaces and nullspace of matrices14B3 Schur Complements16B 4 Cholesky factorizationB 5 QR DecompositionB6 Singular Value Decomposition20B 7 Kronecker productsC Complex Gradients25C 1 Cauchy-Riemann Conditions5C2 Scalar arguments26C3 Vector arguments26PART:。 PTIMAL ESTIMATIONScalar- Valued Data291. 1 Estimation Without observations1.2 Estimation Given Dependent observations1.3 Orthogonality Principl36CONTENTS1,4 Gaussian random variables382 Vector- Valued Data422. 1 Optimal Estimator in the vector Case422.2 Spherically Invariant Gaussian Variables462. 3 Equivalent Optimization Criterion49Summary and Notes51Problems and Computer Projects54PART I: LINEAR ESTIMATION3 Normal Equatlons603. 1 Mean-Square Error Criterion613.2 Minimization by Differentiation3.3 Minimization by Completion-of-Squares633.4 Minimization of the error Covariance matrix653.5 Optimal Linear estimator4 Orthogonality princlple4. 1 Design Examples4.2 Orthogonality Condition4.3 Existence of solutions744, 4 Nonzero-Mean variables5 Linear Models5.1 Estimation using Linear Relations5.2 Application: Channel Estimation5Application: Block Data Estimation815. 4 Application: Linear Channel equalization825.5 Application: Multiple-Antenna Receivers85Constralned estimation876.1 Minimum-Variance Unbiased estimation6.2 Example: Mean Estimation6.3 Application: Channel and Noise Estimation916.4 Application: Decision Feedback Equalization6.5 Application: Antenna Beamforming1017 Kalman Filter1047.1 Innovations process7.2 State-Space Model106
    2020-12-09下载
    积分:1
  • 双轴伺服太阳能跟踪系统的设计
    为了更充分、高效地利用太阳能,设计了基于PLC的双轴伺服太阳能跟踪系统。该系统采用视日运动轨迹跟踪方案,控制器根据相关的公式和参数计算出白天太阳的位置,再将高度角和方位角转化成相应的脉冲发送给伺服驱动器,驱动伺服电机实时跟踪太阳。同时,系统使太阳能板随着太阳的高度变化而倾斜,从而获得最大的太阳能。理论分析表明,采用该跟踪技术可以有效地提高能量接收率。
    2020-12-02下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载