d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > What Is The # Symbol Called In C++? > Like #include <iostream>
12Next
Add Reply New Topic New Poll
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Feb 9 2014 04:56pm
What is the #symbol called? Like what is its defined name. I do understand it's a preprocessor directive.
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Feb 9 2014 05:00pm
Must you humans name everything? Nothing's real to you 'til you've named it, given it limits. Does the sky need a name? Does the river?
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Feb 9 2014 05:23pm
Anyone else?
Member
Posts: 28,331
Joined: Jun 9 2007
Gold: 11,700.00
Feb 9 2014 05:34pm
Quote (NinjaSushi2 @ 9 Feb 2014 22:56)
What is the #symbol called? Like what is its defined name.  I do understand it's a preprocessor directive.


# = hash

but sometimes/some people call it differently
google for 'hash symbol' and you find: http://en.wikipedia.org/wiki/Number_sign

"The term number sign is popular only in Canada. In most of the United States the symbol is usually called the pound sign and the telephone key is called the "pound key".[1] Outside of North America the symbol is called hash and the corresponding telephone key is called the "hash key" (and the term "pound sign" often describes the British currency symbol "£"). In recent years the term hash tag has enter common usage due to its use as a prefix for a hashtag."





This post was edited by brmv on Feb 9 2014 05:37pm
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Feb 9 2014 05:52pm
Thanks didn't know if it was like the sharp symbol or a target tag, etc. My book just calls it a pound sign and I per hash sign. Wasn't sure if C gave it a specific name.
Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Feb 9 2014 05:53pm
Quote (NinjaSushi2 @ Feb 9 2014 05:56pm)
What is the #symbol called? Like what is its defined name.  I do understand it's a preprocessor directive.


If you want the actual name for the symbol, before twitter it was the "pound" sign, or "number" sign.

Just want to clarify though that # is not a preprocessor directive. It merely indicates that what follows it is a preprocessor directive. In #define, define is the preprocessor directive.
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Feb 9 2014 06:05pm
Yes I know that but thank you.
Member
Posts: 1,358
Joined: Dec 30 2012
Gold: 0.10
Feb 9 2014 06:47pm
Quote (Minkomonster @ Feb 9 2014 03:53pm)
If you want the actual name for the symbol, before twitter it was the "pound" sign, or "number" sign.

Just want to clarify though that # is not a preprocessor directive. It merely indicates that what follows it is a preprocessor directive. In #define, define is the preprocessor directive.


:wallbash:

This post was edited by SelfTaught on Feb 9 2014 06:47pm
Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Feb 9 2014 07:11pm
Quote (SelfTaught @ Feb 9 2014 07:47pm)
:wallbash:


Use your words. Do you have a problem with what I said?
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Feb 9 2014 07:53pm
Quote (SelfTaught @ 9 Feb 2014 19:47)
:wallbash:


:lol:
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll