搜索资源列表
5
- 1 请编写一个函数fun,它的功能是:比较两个字符串的长度,(不得调用c语言提供的求字符串长度的函数),函数返回较长的字符串。若两个字符串长度相同,则返回第一个字符串。-1 Write a function fun, its functions are: to compare two string length, (not available in the language requirements call c function of the length of the string), th
zifuchuanpipeisheji
- 设计内容:为掌握提示信息的设置方法以及读取键入信息的方法,编写程序实现两个字符串比较。-Design content: In order to grasp the message set methods and the methods to read type information, write a program to achieve two string comparison.
微机原理实验1:字符串匹配程序实验
- 一、实验目的 1.掌握分支程序的设计方法。 2.熟悉在PC机上建立、汇编、链接、调试和运行8086汇编程序的过程。 二、实验内容 1.比较两个字符串STRING1和STRING2所含的字符是否相同,若相同则显示‘Match’,否则显示‘No Match’。 2.修改程序,显示所比较字符的个数。