📄 useproto.c
字号:
#include <stdio.h>
int i_cube(int);
float f_cube(float);
void main(void)
{
printf("The cube of 3 is %d\n", i_cube(3));
printf("The cube of 3.7 is %f\n", f_cube(3.7));
}
int i_cube(int value)
{
return(value * value * value);
}
float f_cube(float value)
{
return(value * value * value);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -