wangbohan13782700406 @ 2023-04-28 22:26:52
换行符号是什么
求助
by jackdoudou2012 @ 2023-04-30 08:52:11
\n cout<<"\N"; endl;
by qianwanlang @ 2023-05-02 08:20:02
可以用
cout << endl;
或者
cout << "\n";
by _O_v_O_ @ 2023-05-02 13:43:31
做P1008,P1125,P1957,P5734不用换行符?
by Kuangxirui @ 2023-05-25 13:02:32
"\n" 或 “endl”
by jinitaimai33333 @ 2023-06-16 20:24:11
std:endl
by yushanshui @ 2023-06-22 21:58:41
#include <bits/stdc++.h>
using namespace std;
int main() {
printf(" ********\n ************\n ####....#.\n #..###.....##....\n ###.......###### ### ###\n ........... #...# #...#\n ##*####### #.#.# #.#.#\n ####*******###### #.#.# #.#.#\n ...#***.****.*###.... #...# #...#\n ....**********##..... ### ###\n ....**** *****....\n #### ####\n ###### ######\n##############################################################\n#...#......#.##...#......#.##...#......#.##------------------#\n###########################################------------------#\n#..#....#....##..#....#....##..#....#....#####################\n########################################## #----------#\n#.....#......##.....#......##.....#......# #----------#\n########################################## #----------#\n#.#..#....#..##.#..#....#..##.#..#....#..# #----------#\n########################################## ############\n");
return 0;
}
by yellow_cloud @ 2023-06-23 14:58:35
python有个三引号,可以实现多行输出,复制粘贴就行
by yellow_cloud @ 2023-06-23 14:59:53
@wangbohan13782700406 换行符是“n\”
by xuxiyuan1112 @ 2023-07-22 11:35:04
ggdc
by RisefromtheAshes @ 2023-09-02 20:20:05
6