jeudi 29 décembre 2016

Unknown symbol in c++ string throws errors

There is a snippet of code I took from an example and it uses a symbol unknown to me and I can not find anything about it! The snippet is split onto two lines, but if I remove the split in the string, it doesn't throw an error, assumingly because then it becomes part of the "..." string.

cout << "Running 'SELECT 'Hello World!' » AS _message'..." << endl;

However, another usage of the symbol not involved directly in a string throws and error as well:

cout << "(" << __FUNCTION__ << ") on line " » << __LINE__ << endl;

Is this bad syntax for just continuation of a string?

Aucun commentaire:

Enregistrer un commentaire