PDA

View Full Version : Whatever happened to C+?



quentin
04-27-2002, 09:47 AM
Is there such thing as C+? (with 1 plus)

Kupo
04-27-2002, 09:57 AM
i'm just riding logic here, but ++ increments a number by 1, and + does nothing, so ++ is just one more than C.

or something.

lostminds
04-27-2002, 09:58 AM
you are right kupo 'c' was first and the next version would have to be 'c++'

Prelude
04-27-2002, 10:40 AM
C++ means to increment C by one, C+ is a syntax error in both languages. ;)

-Prelude

quentin
04-27-2002, 02:08 PM
cool. I never realised that.

compjinx
04-27-2002, 04:30 PM
It took me a looong time before I figured out that one.

Imperito
04-27-2002, 10:01 PM
I am of the opinion that it ought to be ++C.

C++ would increment C, but it returns the OLD value of C, which kinda defeats the point.

Imperito
04-27-2002, 10:03 PM
A better question might be: what happened to B?

Or, what happened to the letter grade E?

Or B cell batteries?

Or the Q on my phone?

Or the Any key?

DavidP
04-27-2002, 10:07 PM
>what happened to B?

Actually there was a language called B. It is the predecessor of C, and came from the language called BCPL. It was not a very commonly used language....but it did exist....

By the way, I have been looking for a B compiler....if you find one....please private message me or something....

golfinguy4
04-28-2002, 08:09 AM
I met someone from Michigan one time who said he can get an E for a letter grade. It is the equivalent for an F there but he had never heard of an F.

Cruxus
04-28-2002, 09:08 AM
As far as I know, B compilers were developed only for some very old types of computers. Anyway, from the very little B source code I have seen, the B programming language looks pretty similar to C; actually, C was originally called "New B" (NB).

Golfinguy4 wrote:


I met someone from Michigan one time who said he can get an E for a letter grade. It is the equivalent for an F there but he had never heard of an F.


Strange, between first grade and third grade, if I remember correctly, I got grades like E+, E, E-, VG+, G, etc. E+ was the equivalent to A+, and it meant "Excellent Plus." VG was "Very Good;" G was "Good," etc. I have no idea why this system was decided on for the primary grades, but it was a Catholic school.

salvelinus
04-28-2002, 12:15 PM
The college here uses E instead of F. The public schools grade 1, 2, or 3 till 2nd grade, then they use letter grades. I think they use E also.