腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(266)
视频
沙龙
3
回答
错误"NSMutableRLEArray对象属性索引:有效范围::超出界限‘“
、
、
、
、
代码: var
strCopy
=stringfor var i:Int=0;i<
strCopy
.length-2;i++ { println(r" { color=UIColor(red: 249, green: 39
浏览 3
提问于2015-04-14
得票数 3
回答已采纳
1
回答
当文件夹包含空格时,wordexp_t失败
我的代码: QString clsDebugService::strGetUserFolder(QString strFolder) {
strCopy
= "~"; const QChar cqcSeperator(QDir::separatorconst char* cpszFolder =
strCopy
.toLatin1().data();
浏览 17
提问于2021-04-12
得票数 0
回答已采纳
2
回答
递归C++函数将特定字符移到字符串末尾
、
、
string moveXs(const string& str) string
strCopy
= str; {return str; else if (
strCopy
[0] == 'x')
strCopy
=
strCopy
.substr(1,
strCopy
.length() - 1) + str[0];
浏览 3
提问于2014-10-17
得票数 0
回答已采纳
1
回答
在struct中将值写入c样式字符串
、
、
#include <iostream> { {} { // I don't think
strCopy
cout << "
浏览 3
提问于2014-09-12
得票数 0
回答已采纳
2
回答
如何颠倒字符串中单词中的字符(c++)
、
、
仅使用递归函数)#include <string> { return Reverse(str,
strCopy
, end - 1, start +1); else { return
strCopy</e
浏览 2
提问于2018-11-05
得票数 0
1
回答
由于C中的总线错误,to_upper程序没有编译
很长一段时间以来,我一直在试图弄清楚这个错误意味着什么,结果我不知道总线错误和分段错误之间的区别是什么 char *
strCopy
= (char *)str; for (int i = 0; i < strLength; i++) {if (
strCopy
[i] >= 'a' &&
strCopy
[i] <=
浏览 2
提问于2022-05-07
得票数 0
回答已采纳
1
回答
复制字符串后的ARM7覆盆子pi程序集分割故障
、
、
、
下面是我的ARM7程序集片段.text LDRB R2, [R1], #1下面是使用此函数的C文件#include <stdio.h>int main(){
浏览 2
提问于2020-03-01
得票数 0
回答已采纳
6
回答
使用我自己的
strcopy
函数时变空
、
void
strcopy
(char *src, char *dst) { dst = (char*)malloc(len); src++; dst++; *dst = '\0';int main() { char *dst = ""; printf("strcpy:%s\n"
浏览 0
提问于2015-08-18
得票数 2
1
回答
将字符串转换为字符串,并将每个字母转换为前一个字母。
这是我写的代码:
strCopy
[index] = 'z';
strCopy
[index] = 'Z';
strCopy
[index] = (char)(((int)str[index]) - 1); 我正在遍历每个字符并计算前一个字符。
浏览 4
提问于2021-07-31
得票数 1
回答已采纳
1
回答
MIPS Strcpy打印出垃圾
、
、
测试函数_
strCopy
您刚刚进入: test move $t0, $a0
strCopy
_loop: sb $t3, 0($t0) #write addi $t0, $t0,
浏览 32
提问于2017-03-02
得票数 2
2
回答
delphi在运行时修改pchar
、
、
我需要在运行时修改pchar字符串。请帮我处理这段代码: s:pChar; s:='123123';end.
浏览 6
提问于2015-09-07
得票数 0
回答已采纳
3
回答
如何访问内存?
、
、
我做了一个把小写字母改成大写字母的方法。例如,当我在method中输入“我爱C语言”时,它会输出“我爱C语言”。我已经在Visual Studio 2019中构建了这段代码。{ const char emptySpace = ' '; str[0] = str[0] + convertCapital;
浏览 5
提问于2019-08-27
得票数 0
2
回答
使用指针随机化数组
char location;{ int total;char *
strcopy
of people to peoplePointer for(int i=0;i<52;i++)
strcopy
(shuffledDeck[i].suit, "suit"); <e
浏览 1
提问于2014-09-18
得票数 0
1
回答
“分配”与“复制”的含义相同吗?
(我的理解,也许不对)
strCopy
= anotherStr
浏览 9
提问于2015-11-07
得票数 0
回答已采纳
2
回答
C字符串格式
、
、
stdio.h>#include <string.h>{ char
strcopy
[250]; int outcomeWhat you entered:"); printf("
浏览 1
提问于2014-05-07
得票数 0
回答已采纳
2
回答
三值条件算子等价?
、
=NULL):((token=strtok(
strCopy
," "))!=NULL)) { ....
浏览 1
提问于2016-04-07
得票数 1
回答已采纳
1
回答
是否应该手动释放PChar数组的已分配元素?
、
, 3); GetMem(MyPCharArray[1], 5);
StrCopy
(MyPCharArray[1], 'abcd');
StrCopy
(MyPCharArray[2], '1234');
浏览 0
提问于2013-01-05
得票数 3
回答已采纳
1
回答
函数,它计算字符串中字符的所有出现情况。
、
func countOccurrence(of char: Character, within str: String) -> Int { var indexes= [String.Index]() let curr =
strCopy
.firstIndex(of: char) indexes.append(curr) let indexAfter = str.index
浏览 0
提问于2023-05-02
得票数 1
回答已采纳
1
回答
将标准算术字符串转换为由管道分隔的BODMAS字符串
、
by number of odd positions in array IF
strCopy
.[i] = "+" THEN f_operator.[i] = "add"IF
strCopy
.[
浏览 17
提问于2020-02-26
得票数 0
回答已采纳
2
回答
实现"\\“而不是”“(空格)
、
、
#include <stdio.h> char *p; while(
浏览 1
提问于2015-04-29
得票数 3
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
在学C语言的人,怎能不了解这些经典算法问题?
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券