小编Cla*_*oom的帖子

当这两个字符都是字符时,为什么我不能使用 strcat 将它们组合起来?

我正在为 3ds 开发一款游戏,我希望它是一款 cmd 类型的游戏(我只是觉得喜欢)。我试图让这个 char 移动到我拥有的任何 x 和 y int 数字,但出现错误。这是我的代码。

/*
    Hello World example made by Aurelio Mannara for libctru
    This code was modified for the last time on: 12/12/2014 21:00 UTC+1
*/

#include <3ds.h>
#include <stdio.h>
#include <string.h>
int main(int argc, char **argv)
{
    gfxInitDefault();

    char player[1024] = "\x1b[";
    int tesx = 1;
    char tesxx = tesx + '0';
    char ot[] = ";";
    char oty[] = "H0";
    int test = 3;
    char testt = test + '0'; …
Run Code Online (Sandbox Code Playgroud)

c

3
推荐指数
1
解决办法
86
查看次数

标签 统计

c ×1