摘要:
#include <stdio.h> int main() { char *temporadas[] = {"primavera", "verano", "otoño", "invierno"}; for (int i = 0; i < 4; ++i) { // printf("%c\n", *(( 阅读全文
posted @ 2020-06-26 20:16
profesor
阅读(155)
评论(0)
推荐(0)
摘要:
获取时间 #include <stdio.h> #include <time.h> int main() { printf("%ld\n", time(NULL)); return 0; } 对应python中 import time print(time.time()) 生成随机骰子数: #inc 阅读全文
posted @ 2020-06-26 19:28
profesor
阅读(203)
评论(0)
推荐(0)
摘要:
例://找出字符串中所有的is //找出字符串中所有的is #include <stdio.h> #include <string.h> int main(int argc, char const *argv[]) { char s[200] = "Work is like a capricious 阅读全文
posted @ 2020-06-26 18:45
profesor
阅读(1418)
评论(0)
推荐(0)

浙公网安备 33010602011771号