摘要:
#循环语句 /#include<stdio.h> int main() { int a = 0; while (a < 3000) { printf("写代码:%d\n", a); a++; } if (a == 3000) { printf("好工作"); } return 0; } 阅读全文
posted @ 2022-11-07 23:02
Yeah晓夫
阅读(21)
评论(0)
推荐(0)
摘要:
#选择语句 /#include<stdio.h> int main() { int a = 0;//输入值 printf("好好学习么(0/1)?\n"); scanf_s("%d\n", &a); if (a == 1) { printf("好offer\n"); } else { printf( 阅读全文
posted @ 2022-11-07 22:54
Yeah晓夫
阅读(27)
评论(0)
推荐(0)
摘要:
#转义字符 ##转变字符原有意思 /#include<stdio.h> int main() { printf("c:\test\test.c"); printf("ab\nab\n"); printf("%c\n", ''');//' printf("%s\n", """);//" printf( 阅读全文
posted @ 2022-11-07 22:15
Yeah晓夫
阅读(25)
评论(0)
推荐(0)

浙公网安备 33010602011771号