Is there such thing as C+? (with 1 plus)
Is there such thing as C+? (with 1 plus)
#include <iostream.h>
int main()
{
cout<<"Hello";
return 0;
}
i'm just riding logic here, but ++ increments a number by 1, and + does nothing, so ++ is just one more than C.
or something.
you are right kupo 'c' was first and the next version would have to be 'c++'
"The most common form of insanity is a combination of disordered passions and disordered intellect with gradations and variations almost infinite."
C++ means to increment C by one, C+ is a syntax error in both languages.
-Prelude
My best code is written with the delete key.
cool. I never realised that.
#include <iostream.h>
int main()
{
cout<<"Hello";
return 0;
}
It took me a looong time before I figured out that one.
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
Eric Porterfield.
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.
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?
>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....
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.
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:
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.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.
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.