绝对需要你的帮助 [英] despertly need your help

查看:65
本文介绍了绝对需要你的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要代码来实现这两个函数;

myStrCmp

比较两个字符串,如果相等则返回true,否则返回false

int myStrCmp(char * str1,char * str2)

myStrNCpy

将n个字符从str2复制到Str1

void myStrNCpy(char * str1,char * str2,int n)


请帮帮我


这是第一个功能的代码......哪里出错?

I need the code to implement those two functions;
myStrCmp
Compares two strings, returns true if equal and false otherwise
int myStrCmp(char* str1, char* str2)
myStrNCpy
Copies N characters from str2 to Str1
void myStrNCpy(char* str1, char* str2, int n)

please help me

this is the code of the first fucntion ...where is the error?

展开 | 选择 | Wrap | 行号

推荐答案

你不能使用标准rd库函数是因为?
You can''t use the standard library functions because?


因为我需要创建自己的函数!!!
because I need to create my own function !!!


@Banfa


我需要创建我自己的功能
@Banfa
I NEED TO CREATE MY OWN function


这篇关于绝对需要你的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆