登录
首页 » 汇编语言 » 编写函数int index返回字符t在字条串s中出现的最左边的位置,如果在s中没有与t匹配的子串,不返回...

编写函数int index返回字符t在字条串s中出现的最左边的位置,如果在s中没有与t匹配的子串,不返回...

于 2022-03-03 发布 文件大小:7.60 kB
0 145
下载积分: 2 下载次数: 1

代码说明:

编写函数int index返回字符t在字条串s中出现的最左边的位置,如果在s中没有与t匹配的子串,不返回-1-function int index prepared to return to the characters not string"s note appeared in the leftmost position, If s and t is not matched substring, not to return-1

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

发表评论

0 个回复

  • an asm program for serial rs232 data communication.
    asm的基于rs232的连机数据传输与接受程序。-an asm program for serial rs232 data communication.
    2023-05-25 18:25:03下载
    积分:1
  • STM32LCD初始化
    应用背景 本人原创STM32汇编实现LCD的显示,目前搜遍全球也没有STM32汇编实现LCD显示的代码。 编译器 ARM-NONE-EABI   ,是在LINUX下编译的。 代码很复杂不容易看懂,我用了很长时间才写出来,大概有1000行汇编代码,写了半个多月才写出来,真是不容易啊。 程序包括IO设置 时钟初始化,NVIC中断设置,定时器,温度传感器等,红外遥控, 然后在LCD上显示 关键技术 初始化代码 shizhong:     ldr r0, = 0x40021000     ldr r1, = 0x14D83     str r1, [r0] gsszbz:     ldr r2, [r0]     ldr r1, = 0x20000     tst r1, r2           @高速时钟标志位                bne rccchushihua     b gsszbz rccchushihua:     ldr r0, = 0x40022000     mov r1, # 0x00000032     str r1, [r0]       &n
    2022-03-12 04:17:41下载
    积分:1
  • 该程序采用完成,基于AT89C51adc0809和LCD1602实现数字电压表...
    该程序采用汇编语言完成,基于AT89C51adc0809和LCD1602实现数字电压表-The procedure used to complete assembly language, based on the LCD1602 realize AT89C51adc0809 and digital voltage meter
    2022-03-23 01:37:43下载
    积分:1
  • ST套件产生汽车防盗器报警声,本实例的目的是让大家学会用单片机产生声音的方法,学会计算程序所用时间 本实例的功能是能用16F84产生汽车防盗器的报警声,频率分两...
    ST套件产生汽车防盗器报警声,本实例的目的是让大家学会用单片机产生声音的方法,学会计算程序所用时间 本实例的功能是能用16F84产生汽车防盗器的报警声,频率分两个0.1s第一个 0.1S频率从1.8K-3.5K匀速增加第二个0.1S频率从3.5K-1.8K匀速减少, 程序复位后,按S2喇叭叫两声,按S3喇叭叫15秒,中途可按S5停止. PIC单片机 烧写时应注意:配置位已经在程序中写明,加载HEX文件时会自动加载,烧写时不用再手动设置配置位。 实验时请注意套件跳线选择;-pic
    2023-08-29 13:20:02下载
    积分:1
  • 1) direction vehicle release 20 seconds. What is the direction of red and green...
    1) 东西方向车辆放行20秒钟。即东西方向的绿灯和南北方向的红灯同时点亮20秒钟; 2) 20秒钟后,东西方向的黄灯闪烁2秒钟,以警示车辆将切换红绿灯。此时南北方向仍维持红灯点亮。在南北方向亮红灯期间,在2位数码管上显示计数值(每秒减1),从20减至01。 3) 东西方向的黄灯闪烁2秒钟后,转为南北方向放行20秒钟。即东西方向的红灯和南北方向的绿灯同时点亮20秒钟; 4) 南北方向放行20秒钟后,转为南北方向的黄灯闪烁2秒钟,以警示将切换红绿灯。此时东西方向仍维持红灯点亮。 5) 南北方向的黄灯闪烁2秒钟后,再转为东西方向车辆放行20秒钟。如此循环重复。 -1) direction vehicle release 20 seconds. What is the direction of red and green light at 20 seconds, 2) 20 seconds later, the yellow lights flashing warning vehicles with 2 seconds, switch to the traffic lights. This is still remain red light north-south direction. In the south during the red light, in the direction of the digital display tube of 2 per plan (minus 1), from 20 to 2001. 3) the yellow lights flashing direction to 2 seconds later, the south direction release 20 seconds. What is the direction of the north-south direction of red and green and light 20 seconds, 4) north-south direction after 20 seconds to release the north-south direction, yellow lights flashing warning, with 2 secon
    2022-02-04 13:43:35下载
    积分:1
  • 本人做矩阵按键实验时所用的码程序,拿出来大家参考的下吧!做毕业设计继续站内资源啊...
    本人做矩阵按键实验时所用的编码程序,拿出来大家参考的下吧!做毕业设计继续站内资源啊-I do key experiments matrix encoding process used to produce the next reference to it! Graduates to continue to do the design station ah resources
    2022-03-03 13:36:12下载
    积分:1
  • 手把手叫你学单片机,这是里面的源代码,很适合初学者快速上手51单片机的资料...
    手把手叫你学单片机,这是里面的源代码,很适合初学者快速上手51单片机的资料-You to learn hands-called single-chip, which is inside the source code, it is suitable for beginners quick start 51 SCM information
    2022-02-14 21:01:48下载
    积分:1
  • 12864的数字时钟,驱动芯片KS0108
    12864 数字钟,驱动芯片KS0108-12864 Digital Clock, Driver IC KS0108
    2022-03-19 15:06:06下载
    积分:1
  • 批处理文件内容增加。利用windows API函数实现。
    批处理文件内容增加。汇编利用windows API函数实现。-add string batch program。win32 assembly language using windows API achieved。
    2022-03-22 00:46:01下载
    积分:1
  • 这个代码是关于计算机考试的。使用VB的。比较简单。
    这个代码是关于计算机考试的。使用VB编的。比较简单。-code on the computer examination. VB series. Relatively simple.
    2022-03-14 04:58:41下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载