📄 simple.c
字号:
/* simple.c - Demonstrates the use of a simple structures*/
#include <stdio.h>
int length, width;
long area;
struct coord{
int x;
int y;
} myPoint;
int main( void )
{
/* set values into the coordinates */
myPoint.x = 12;
myPoint.y = 14;
printf("\nThe coordinates are: (%d, %d).",
myPoint.x, myPoint.y);
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -