Skip to content
how to put ascii art to c++
Profile icon
PhuPns

i write code
cout << R"(
_____ __ _____ _ _ ___ _ _ __ ___ _ __ __ _ ________
|_ /__\ | | || | | | | | |/| _ \ | | \ | | |/ / |
| || / | | | | >< | | | 'V' | / | v / || v | | | ' | _
| |
|
| _
/ || ||||| !/ _!_/||_|__/ ||_|_/ ||
) " << '\n';

but it error there are missing terminating character

You are viewing a single comment. View All
Profile icon
Coder100

that's strange. Did you maybe insert an extra ?

#include <iostream> int main() { std::cout << R"( _____ __ _____ _ _ ___ _ _ __ ___ _ __ __ _ ________ |_ _/__\ |_ _| || | __| | | | |/__\| _ \ | | _\ | \| |/ _/_ _| | || \/ | | | | >< | _| | 'V' | \/ | v / |_| v | | | ' | \__ | | |_| \__/ |_| |_||_|___| !_/ \_!\__/|_|_\___|__/ |_|\__|\__/ |_| )" << std::endl; }
Profile icon
PhuPns

thank! but i try to do this is error that show are missing terminating character

@Coder100

Profile icon
Coder100

@PhuPns
oh did my solution not work either? Sorry about that

Profile icon
Coder100

hmm it is working for me

@PhuPns

Profile icon
PhuPns

i can't run the [email protected]

Profile icon
Coder100

why not?

@PhuPns

Profile icon
Coder100

send repl

@PhuPns

Profile icon
PhuPns