why dosnt it print the backslash

well im trying to build a street with code and im very new but why dosnt it print the backslashes, it always gives me only the left side yk.
1
2
3
4
5
6
7
8
9
10
11
12
13
 #include <iostream>

using namespace std;

int main()
{
   cout << "    / | \  \n   /  |  \  \n  /   |   \   \n /    |    \  \n/     |     \"" << endl;




    return 0;
}.
You need a doubl backslash in the code to output a single backslash. See my previous post.
Topic archived. No new replies allowed.