so, i have a question about 'Single-Quotes' and "Double-Quotes" in C++..
what is the difference between 'Single-Quotes' and "Double-Quotes" ...?
if my code looks like this:
Code: Select all
char c;
... // c is an character, for example 'a'
if(c == "\n")
{ ...
then i use the 'Single-Qutes' instead so that the one line looks like this:
Code: Select all
if(c == '\n')
what is the exactly difference between 'Single-Quotes' and "Double-Quotes" ...?
Bender