What does the C++ standard say about using dollar signs in identifiers, such as Hello$World? Are they legal?
Hello$World
A c++ identifier can be composed of any of the following: _ (underscore), the digits 0-9, the letters a-z (both upper and lower case) and cannot start with a number.
There are a number of exceptions as C99 allows extensions to the standard (e.g. visual studio).
2.1m questions
2.1m answers
60 comments
57.0k users