我是一个蒟蒻,这是我朋友教我的。(本人没看懂),求大佬讲解

P1000 超级玛丽游戏

@[lzbyyds](/user/1188387) ```cpp #include <iostream>//头文件,用了它才能用cout using namespace std;//调用命名空间,头文件里的内容都在这 int main()/*开始函数,后面的大括号是语句,而且必须要加*/{ cout<<" ********"<<endl; cout<<" ************"<<endl; cout<<" ####....#."<<endl; cout<<" #..###.....##...."<<endl; cout<<" ###.......###### ### ###"<<endl; cout<<" ........... #...# #...#"<<endl; cout<<" ##*####### #.#.# #.#.#"<<endl; cout<<" ####*******###### #.#.# #.#.#"<<endl; cout<<" ...#***.****.*###.... #...# #...#"<<endl; cout<<" ....**********##..... ### ###"<<endl; cout<<" ....**** *****...."<<endl; cout<<" #### ####"<<endl; cout<<" ###### ######"<<endl; cout<<"##############################################################"<<endl; cout<<"#...#......#.##...#......#.##...#......#.##------------------#"<<endl; cout<<"###########################################------------------#"<<endl; cout<<"#..#....#....##..#....#....##..#....#....#####################"<<endl; cout<<"########################################## #----------#"<<endl; cout<<"#.....#......##.....#......##.....#......# #----------#"<<endl; cout<<"########################################## #----------#"<<endl; cout<<"#.#..#....#..##.#..#....#..##.#..#....#..# #----------#"<<endl; cout<<"########################################## ############"; return 0;//最后结束语句块,养成好习惯 } ``` ###### ~~感觉白打了1607个字~~
by Doors_Cross @ 2023-12-18 16:25:03


@[Doors_Cross](/user/1157659) @[Doors_Cross](/user/1157659) 懂了,谢谢大佬
by lzbyyds @ 2023-12-19 16:25:52


6666666
by ztf2011 @ 2023-12-21 13:03:32


endl换行啊…… ~~6~~
by Eric_dong @ 2023-12-24 22:55:52


用PHP不就好了 @[lzbyyds](/user/1188387)
by 11ofjay @ 2024-01-01 10:41:54


@[jay0207](/user/1125635) 雀石
by AC_kkk0926 @ 2024-01-22 12:03:26


@[lzbyyds](/user/1188387) cout<<""; ""里面加你要输出的内容 cout<<""<<endl; endl可以换行
by wangzhenjia @ 2024-05-14 22:03:58


上一页 |