Hello.
i got a problem with showing a "picture to ascii" if you could call it that my code is here:
now it's ........ed up again xD. Every time i run it, it shows wierd text and not "vr" like it's suopused to.Code:// Windows #include <iostream> #include <windows.h> using namespace std; int main() { cout << endl << " *-------------------------------------------*"; cout << endl << " |__ __ _____ |"; cout << endl << " |\ \ / / | \ |"; cout << endl << " | \ \ / / | O | |"; cout << endl << " | \ \ / / | __/ |"; cout << endl << " | \ \ / / | |\ \ |"; cout << endl << " | \ \/ / | | \ \ |"; cout << endl << " | \__/ |_| \_\ |"; cout << endl << " *------------------------------------------*"; getchar(); }
I know why this accours, at least i think. But is there any way i can prevent it? i have tried setting each line up in a string but it "........ed up" and my program chrased. I think some of the symbols in the line is bad for the cout.
BUT how do i make this thing, so it actually works ?