Lindafish @ 2023-11-23 21:09:35
#include <stdio.h>
int main ()
{
printf(" ********\n");
printf(" ************\n");
printf(" ####....#\n");
printf(" #..###.....##....\n");
printf(" ###.......###### ### ###\n");
printf(" ........... #...# #...#\n");
printf(" ##*####### #.#.# #.#.#\n");
printf(" ####*******###### #.#.# #.#.#\n");
printf(" ...#***.****.*###.... #...# #...#\n");
printf(" ....**********##..... ### ###\n");
printf(" ....**** *****....\n");
printf(" #### ####\n");
printf(" ###### ######\n");
printf("##############################################################\n");
printf("#...#......#.##...#......#.##...#......#.##------------------#\n");
printf("###########################################------------------#\n");
printf("#..#....#....##..#....#....##..#....#....#####################\n");
printf("########################################## #----------#\n");
printf("#.....#......##.....#......##.....#......# #----------#\n");
printf("########################################## #----------#\n");
printf("#.#..#....#..##.#..#....#..##.#..#....#..# #----------#\n");
printf("########################################## ############\n");
return 0;
}
我都这么写了,怎么还WAo(╥﹏╥)o
by Sevendays_Coder @ 2023-11-23 21:14:55
第三行漏了一个 '.'
by zhengpie @ 2023-11-23 21:33:12
@Lindafish 这样写不容易漏
printf(
" ********\n"
" ************\n"
" ####....#.\n"
" #..###.....##....\n"
" ###.......###### ### ###\n"
" ........... #...# #...#\n"
" ##*####### #.#.# #.#.#\n"
" ####*******###### #.#.# #.#.#\n"
" ...#***.****.*###.... #...# #...#\n"
" ....**********##..... ### ###\n"
" ....**** *****....\n"
" #### ####\n"
" ###### ######\n"
"##############################################################\n"
"#...#......#.##...#......#.##...#......#.##------------------#\n"
"###########################################------------------#\n"
"#..#....#....##..#....#....##..#....#....#####################\n"
"########################################## #----------#\n"
"#.....#......##.....#......##.....#......# #----------#\n"
"########################################## #----------#\n"
"#.#..#....#..##.#..#....#..##.#..#....#..# #----------#\n"
"########################################## ############\n"
);
就是把那个复制过来,然后肝一下,每行首末加上引号和换行就行了
by Lindafish @ 2023-11-23 21:36:44
@Sevendays_Coder 谢谢大佬,大佬看得太仔细了!
by Lindafish @ 2023-11-23 21:38:46
@zhengpie 谢谢大佬,能问大佬一个低级问题吗,就是整体缩进空格的快捷键是哪几个呀,就是不太会这样写才苦逼地Ctrlcε=(´ο`*)))
by zhengpie @ 2023-11-23 21:43:40
@Lindafish Tab键
by Lindafish @ 2023-11-24 08:11:13
@zhengpie 谢谢大佬!