如何使用c更改打印字体的字体大小?
printf ("%c", map[x][y]);
Run Code Online (Sandbox Code Playgroud)
我想打印一个大于程序中所有其他文本的数组.有没有办法让这个声明更大?
为什么不打印数组我使用c而不是c ++.我究竟做错了什么?我还想知道你可以在char变量中使用哪些字符.
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
int map[4][4] = {1,1,1,1,1,1,11,1,1,1,1,1,1,1,1};
int x, y;
for (x = 0; x < 4; x++);
{
for (y = 0; y < 4; y++);
{
printf ("%i ", map[x][y]);
}
printf ("\n");
}
return 0;
}
Run Code Online (Sandbox Code Playgroud) c ×2