我正在为 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 ×1