C++, pourquoi ?

C++, pourquoi ? - C++ - Programmation

Marsh Posté le 25-11-2007 à 17:27:29    

Bonjour une petite question qui va peut être vous paraître idiote, mais pourquoi le c++ s'appelle c++ ??
 
Après quelques recherches sur google je n'ai aps réussi à trouver
 
merci !!

Reply

Marsh Posté le 25-11-2007 à 17:27:29   

Reply

Marsh Posté le 25-11-2007 à 17:39:31    

Parce qu'il a été élaboré en prenant le C pour base. Et comme en C, une incrémentation peut se faire avec le raccourci ++, il a été décidé qu'un nouveau langage se basant sur le C s'appellerait le C++, tout bêtement.

Reply

Marsh Posté le 25-11-2007 à 17:46:19    

et pourquoi le c s'appelle c ?

Reply

Marsh Posté le 25-11-2007 à 17:56:30    

Parce que c'est une évolution du B. [:petrus75]
http://en.wikipedia.org/wiki/B_programming_language

Reply

Marsh Posté le 25-11-2007 à 18:02:32    

(Note : il existe aussi le Langage D [:dawa])


Message édité par Elmoricq le 25-11-2007 à 18:02:45
Reply

Marsh Posté le 25-11-2007 à 18:03:26    

Bjarne Stroustrup donne la réponse dans son FAQ à http://www.research.att.com/~bs/bs_faq.html#name

Citation :

Where did the name "C++" come from?
Chapter 1 of TC++PL: ``The name C++ (pronounced "see plus plus" ) was coined by Rick Mascitti in the summer of 1983. The name signifies the evolutionary nature of the changes from C; "++" is the C increment operator. The slightly shorter name "C+" is a syntax error; it has also been used as the name of an unrelated language. Connoisseurs of C semantics find C++ inferior to ++C. The language is not called D, because it is an extension of C, and it does not attempt to remedy problems by removing features. For yet another interpretation of the name C++, see the appendix of [Orwell,1949].''  
Chapter 3 of D&E: ``I picked C++ because it was short, had nice interpretations, and wasn't of the form "adjective C."' In C, ++ can, depending on context, be read as "next," "successor," or "increment," though it is always pronounced "plus plus." The name C++ and its runner up ++C are fertile sources for jokes and puns -- almost all of which were known and appreciated before the name was chosen. The name C++ was suggested by Rick Mascitti. It was first used in December of 1983 when it was edited into the final copies of [Stroustrup,1984] and [Stroustrup,1984c].  
 
The "C" in C++ has a long history. Naturally, it is the name of the language Dennis Ritchie designed. C's immediate ancestor was an interpreted descendant of BCPL called B designed by Ken Thompson. BCPL was designed and implemented by Martin Richards from Cambridge University while visiting MIT in the other Cambridge. BCPL in turn was Basic CPL, where CPL is the name of a rather large (for its time) and elegant programming language developed jointly by the universities of Cambridge and London. Before the London people joined the project "C" stood for Cambridge. Later, "C" officially stood for Combined. Unofficially, "C" stood for Christopher because Christopher Strachey was the main power behind CPL.''


Reply

Marsh Posté le 25-11-2007 à 18:05:15    

ok merci ^^

Reply

Marsh Posté le 25-11-2007 à 18:14:54    

Et pourquoi n'ont-il pas commencé par A? A cause de BCPL?

Reply

Marsh Posté le 25-11-2007 à 18:16:33    

J'ai la flemme de faire un copier-coller du lien wikipedia qui est juste au-dessus. [:dawao]

 

Indice : c'est la première phrase du paragraphe "History". [:klem3i1]


Message édité par Elmoricq le 25-11-2007 à 18:17:15
Reply

Marsh Posté le 25-11-2007 à 21:11:36    

C'est amusant que Stroustrup écrive: "The language is not called D, because it is an extension of C, and it does not attempt to remedy problems by removing features."
C'est ce que fait le langage D, réduire les problèmes causés par certaines features de C++ en les supprimant purement et simplement. Le nom est donc bien choisi. ;)


Message édité par el muchacho le 25-11-2007 à 21:13:18

---------------
Les aéroports où il fait bon attendre, voila un topic qu'il est bien
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed