我无法理解以下while循环的条件
作者:Zolo_Ryan 提问时间:12/26/2022
void strcpy(char *s, char *t) { int i; i = 0; while ((*s = *t) != '\0') { s++; t++; } } 我制作了...
strcpy 问答列表
作者:Zolo_Ryan 提问时间:12/26/2022
void strcpy(char *s, char *t) { int i; i = 0; while ((*s = *t) != '\0') { s++; t++; } } 我制作了...
作者:MrByte 提问时间:1/20/2022
我有一个问题,我无法找出解决方案。我必须将一些代码编程为μC,但我不熟悉它。 我必须创建一个分析并将其结果显示在机器的屏幕上。分析已准备就绪且功能正常。但是将分析结果放到屏幕上是我的问题。 我必须...
作者:khamun7 提问时间:7/1/2023
当我运行我的 c 代码时,我的解决方案是 #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAX_LEN 10...
作者:Tanya Kumari 提问时间:9/24/2023
#include <stdio.h> #include <string.h> void pigLatinConsonant(char input[]) { char end[] = "ay"; ...
作者:Rupam Karmakar 提问时间:9/26/2023
char arr[3][3] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}; char var; // Asking input from user for (in...
作者:Harry 提问时间:11/13/2023
我是 C++ 的新手,目前使用 Visual Studio 进行编码。由于某种原因,我的不起作用strcpy_s() #include<iostream> #include<cstring> in...