1. 示例代码:
/* 用递归调用求 Ackerman(m, n) 的值 */#include <stdio.h>int Ackerman(int m, int n);int main(void)
{int m 0, n 0;printf("Please input m and n: ");scanf_s("%d%d", &m, &n);printf("Ackerman(%d, …
1. go hello world
创建文件夹gotest,在其中创建test1.go文件,并写入
package mainimport ("fmt"
)func main() {fmt.Println("hello world")
} 运行命令 go run test1.go 可以看到输出hello world 2. cli 命令行的使用
代码如下…