|
++ is commonly pronounced as "plus plus".
Lets get down to business: the ++ operator in C and C++ is crazy. Here some rules off the top of my head:
+ Show Spoiler [rules] +i represents a whole number i++ represents post-increment post increment has the following properties: -increments the value i and returns a copy of i made before the increment -generally creates unnecessary copies of things when used with builtin types -Cannot be used on rvalues afaik
++i is pre-increment Properties of pre-increment -generally the preferred operator for increments -most of the time has less side-effects than post-increment -usually results in more readable code -increments i and returns the incremented i value
The ++ operator is like an addon to the normal + operator. It's an extension like many other ++ things.
An example of a ++ thing that exist as an extension to another thing
Now enough of that. ++ is also used in the name of the language C++ as C++ was built by some dude named Bjarne Stroustrup. C++ can be thought of as mostly a big expansion set to C.
Okay computer sciency things are done.
There's a thingy called Notepad++ and acts as a replacement for Microsoft's shitty Notepad program that comes packaged with Windows. Notepad++ has a bunch of other features that really should have been in Notepad (like reading Linux newlines -.-).
See? ++ things exist.
LASTLY there's TL+. Sure, we all have seen TL+ and it's pretty cool to support TL. However there's also TL++. Clearly we can see that ++ is significant in the C and C++ language in multiples ways. Notepad++ is like an extension or replacement for Notepad.
So this begs the question... Could there be a TL++ expansion to TL+? Is this getting meta on you? Lets call TL++ TLMeta. All the ++.
In TLMeta there's lots of news about the news that goes in the TL+ forum. All the information and all the posts in TLMeta are about the stuff in TL+. How is this fun? Well the magic is that if someone posts in TLMeta about something, even if it isn't truly in TL+ then it will become true.
This is magic. TLMeta is not only about TL+ but it is the keeper of TL+. What happens in TLMeta comes to be.
How can we get TLMeta or get to TLMeta? It's like the 4th dimension. We can only mathematically or logically think about the 4th dimension but we can't really experience it or understand it in a very intuitive or natural way.
Warped time because TLMeta
It exists and it is happening. People are posting in TLMeta all the time, and these people are actually about the people in TL+. I know all this meta is getting a little crazy.
The point is, here's a logimagical proof that TLMeta exists for all you non-believers:
TL is a website TL+ exists and we are in it Therefor to keep the ball rolling TLMeta exists and it is about we
It is the only way imo. u gotta skate
|
I'm wondering if somebody spiked Cecil's drink... or if he has too much free time on his hands.
|
So.... why is C# called C Sharp... instead of C pound sign or C hash..
|
On June 28 2013 16:55 haduken wrote: So.... why is C# called C Sharp... instead of C pound sign or C hash..
i assume its because its creator preferred music of telephones or drugs
|
Oh no, we've been discovered
|
the +ception is strong in this blog, 5/5
|
On June 28 2013 16:59 Klonere wrote:Show nested quote +On June 28 2013 16:55 haduken wrote: So.... why is C# called C Sharp... instead of C pound sign or C hash.. i assume its because its creator preferred music of telephones or drugs Indeed, C# is actually written C♯ by Microsoft on boxart etc, C# is used simply because the hash is easier to write on a keyboard.
|
The # is actually just two overlapping + signs. So it's C[++ in a single character].
|
United Kingdom3482 Posts
TL++ isn't far enough we need TL#.
|
Yay, Bjarne Stoustrup was from my Uni. Aarhus, Aarhus, Aarhus!!!!!!
|
Cecil, due to time being warped, I do not know of this thing you call 'TL+' and thus I have no knowledge of how an expansion could ever be made. If you wouldn't mind going into more detail, I would be grateful.
|
I wanted to gift you TL++ for this blog, but couldn't find the button. Then I realized you had already transcended to the level where you were already a part of TL++. well played
|
|
Yay C++, the only language that I'm pretty competent with (I guess I know a bit of Java). I have so much to learn
|
I say TL switches things up and upgrades TL+ to +TL+ or started with TL. And incrementally went to TL.. TL... all the way past 9000.s
|
What is reality but what's perceived? Life imitates art. Wait, I must have that wrong.
|
On June 28 2013 20:52 Burrfoot wrote: I say TL switches things up and upgrades TL+ to +TL+ or started with TL. And incrementally went to TL.. TL... all the way past 9000.s Ahh so do something like
BOOL newday; //is it a new day? Yes or no answers only.
//other code to define newday would most likely go here.
if(newday = YES) // if it is a new day... { double TLplus = 9000; //9000 TL+ for (int TL=1; TL < TLplus; TL++) //endless loop is endless { printf("Sup Oh Great And All Powerful Master Wizard R1CH"); //Say hi to R1CH printf("/n you are now %i R1CH in TL",TL); //TL, new currency. TLplus ++; //OVER 9000 TL+! newday = NO; //not a new day anymore :( return TL; //because why not? } }
|
Bisutopia19137 Posts
On June 28 2013 21:24 3FFA wrote:Show nested quote +On June 28 2013 20:52 Burrfoot wrote: I say TL switches things up and upgrades TL+ to +TL+ or started with TL. And incrementally went to TL.. TL... all the way past 9000.s Ahh so do something like BOOL newday; //is it a new day? Yes or no answers only.
//other code to define newday would most likely go here.
if(newday = YES) // if it is a new day... { double TLplus = 9000; //9000 TL+ for (int TL=1; TL < TLplus; TL++) //endless loop is endless { printf("Sup Oh Great And All Powerful Master Wizard R1CH"); //Say hi to R1CH printf("/n you are now %i R1CH in TL",TL); //TL, new currency. TLplus ++; //OVER 9000 TL+! newday = NO; //not a new day anymore :( return TL; //because why not? } }
//endless loop is endless Your loop only runs once.
|
That indentation is genius.
Is that a MS troolean type? It should be obvious, but if YES resolves to true, the condition will always be true. Well, if operator= isn't overloaded in some way at least.
|
Does it go to the if statement first? I thought it went to the for statement first. >.>
|
|
|
|