How to use "\" not as a command but just as a text in a string

how to use a colon
how to use semicolon
when to use a semicolon examples
when to use a dash
when to use a semicolon in a list
when to use semicolon vs comma
when to use a comma
how to use for example in a sentence

I am trying to make a graphic in C++ that basically is a smiley face:

"_____/"

But when I build my program, the use of "\" character gives me an error "unknown escape sequence"

Any thoughts? I am going to print the smiley face by printing some special characters.


You might have to escape the backslash itself. Try using \\.

Semicolons: A Quick Guide How to Use a Semicolon, The most common use of the semicolon is to join two independent clauses without using a conjunction like and. Do you use a capital letter after a semicolon​? The  To add a new worksheet, click the + (plus) button at the end of the list of sheets. You can also reorder the sheets in your workbook by dragging them to a new location. And if you right-click a worksheet tab, you’ll get a number of options: For now, don’t worry too much about these options.


Use "\\" . The backslash is a string command

"\\" --> \
"\n" --> new line
"\t" --> tab

etc..

See full list here https://msdn.microsoft.com/en-us/library/6aw8xdf2.aspx

Using Semicolons – The Writing Center – UW–Madison, Use a semicolon between two independent clauses that are connected by conjunctive adverbs or transitional phrases. However they choose to write, people are  4 Reasons to Use Semicolons. To separate clauses. To create variety. To emphasize relatedness. To separate items in a complex list.


You can also use raw string literals in C++11 that is more convenient:

std::cout << "The output is: " << R"(\_________/)" << std::endl;

that prints for you something like this:

The output is: \_________/

When to Use Commas, Colons, Semicolons, and Dashes, Which Punctuation Mark Should I Use? Knowing which punctuation to apply within sentences can be confusing. But rules are important and made to be followed  How to Use Apostrophes. The apostrophe is used for two reasons: to show that certain letters in a contraction are missing, and to indicate ownership. The rules for apostrophes vary with the type of word. Apostrophes help make your writing


How to use a semicolon - Emma Bryce, View full lesson: http://ed.ted.com/lessons/how-to-use-a-semicolon-emma-bryce It may seem Duration: 3:36 Posted: Jul 6, 2015 How to Use a Kodi Build Apart from the rearrangement of various elements and the makeover of the interface, Kodi with a build isn’t a lot different from Kodi without it. That’s good news as it means it doesn’t take a great deal getting used to a Kodi build, even if you are a beginner.


How to Use Colons and Semicolons in English, In this lesson, you can learn how to use colons and semicolons in English. You will also see how Duration: 10:12 Posted: Mar 16, 2016 Using an email address generates a more personalized ID (although that may present a privacy issue for users). To change your username, tap the icon in the right bottom corner that looks like a


How to use the SEMI-COLON in English writing, Watch this important lesson and learn all about the semi-colon. I explain exactly what this Duration: 18:24 Posted: Nov 1, 2019