Category:C++: Difference between revisions

use the Allows and Provides templates
(C++ provides mutable state)
(use the Allows and Provides templates)
Line 10:
|tags=cpp
|LCT=yes
|bnf=http://cpp.comsci.us/syntax/statement/index.html}}{{codepad}}'''C++''' is named after the [[C]] language, from which it is derived. C++ extends C into becoming an [[object-oriented language]]. However, unlike other object-oriented languages, it doesn't try to force you into [[object-oriented programming]], but is a multi-[[:Category:Programming Paradigms{{allows|paradigm]] language. Besides conventional [[procedural programming]] and object-oriented programming, it also supports [[generic programming]]. [[allows::Capability:Network access}}{{allows| ]][[allows::Capability:Database access}}{{allows| ]][[allows::Capability:Concurrency}}{{provides| ]][[provides::Capability:Run time polymorphism}}{{provides| ]][[provides::Capability:Compile time polymorphism}}{{allows| ]][[allows::Capability:Windowing UI}}{{allows| ]][[allows::Capability:Graphics}}{{allows| ]][[allows::Capability:OpenGL}}{{allows| ]][[allows::Capability:Dynamic linking}}{{provides| ]][[provides::Capability:File access}}{{allows| ]][[allows::Capability:File system access}}{{provides| ]][[provides::Capability:Objects}}{{allows| ]][[allows::Capability:Signal handling}}{{provides| ]][[provides::Mutable state| ]]}}
'''C++''' is named after the [[C]] language, from which it is derived. C++ extends C into becoming an [[object-oriented language]]. However, unlike other object-oriented languages, it doesn't try to force you into [[object-oriented programming]], but is a multi-[[:Category:Programming Paradigms|paradigm]] language. Besides conventional [[procedural programming]] and object-oriented programming, it also supports [[generic programming]].
 
The ++ in C++ is some what of an inside joke, in that C++ is C with a Post Increment operator attached, thus C++ is C + 1; however, this interpretation has the flaw that post-increment increments the value ''after'' returning the value, so the post-increment expression still evaluates to the value before the increment.
Anonymous user