symbols (*, #, %, @, etc)

If you will, list or explain the nature, language rules, and-or syntax of symbols used in C++ code.

[108 byte] By [forum389] at [2007-12-16]
# 1
You will need to be exceedingly more concrete to get any useful answer here. The authoritative answer of course it to look at the C++ grammar in the offcial language specification.

That spec you can order from ANSI here:
http://webstore.ansi.org/ansidocstore/product.asp?sku=INCITS%2FISO%2FIEC+14882%2D2003

Ronald Laeremans
Visual C++ team

RonaldLaeremans at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2

(note: I have previously coded in Java and am now attempting to learn C++)
I did not post this thread as a code specific inquiry. I merely wanted a vague listing or description of what the symbols in C++ will tend to be used for.

Also, what text characters are reserved by the C++ language and what ones can be used for identifiers?

forum389 at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 3

Here is a very short description of what these characters mean:

* - reserved: can be used to:
declare a pointer type: T*
dereference a pointer: *pT
indicate multiplication: v1 * v2

# - reserved: used by the preprocessor

% - reserved: can be used to:
indicate the modulus operation: v1 % v2
In C++/CLI is used to declare a tracking reference: T%

@ - not part of the C++ character set: can only appear in a comments, strings and character constants

JonathanCavesMSFT at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 4
Jonathan Caves MSFT wrote:
@ - not part of the C++ character set: can only appear in a comments, strings and character constants
There is the rarely used charizing operator.
RITZ at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 5
So rarely used that I didn't even know about it!

Ok I'll restate the last comment: '@' is not part of the Standard C++ character set.

JonathanCavesMSFT at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 6

What text characters can be used in identifiers ("names")?
(note: I did not intend to narrow this thread to only the four characters listed in the title... notice the "etc")

forum389 at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 7
forum389, can I suggest that you get a book or try Google first? Here is a good start for you.
RITZ at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 8
...fine

yet, I find your refusal to directly answer extremely irritating

(I would prefer you answer directly, and then, if you will to do so, list any references as additional references, rather than implying whatever presumption you might; or don't reply at all, exceptions being when such refrences as you might give link directly to the answer or are described pertaining to such)
but, yes, I found an answer for the "identifier name" question, via search engine

forum389 at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...