Category:C++: Difference between revisions

C++ provides mutable state
(allows signal handling (strictly speaking it's even provided, but only in a very rudimentary way, so de facto you need an extra library anyway))
(C++ provides mutable state)
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|paradigm]] language. Besides conventional [[procedural programming]] and object-oriented programming, it also supports [[generic programming]]. [[allows::Capability:Network access| ]][[allows::Capability:Database access| ]][[allows::Capability:Concurrency| ]][[provides::Capability:Run time polymorphism| ]][[provides::Capability:Compile time polymorphism| ]][[allows::Capability:Windowing UI| ]][[allows::Capability:Graphics| ]][[allows::Capability:OpenGL| ]][[allows::Capability:Dynamic linking| ]][[provides::Capability:File access| ]][[allows::Capability:File system access| ]][[provides::Capability:Objects| ]][[allows::Capability:Signal handling| ]][[provides::Mutable state| ]]
 
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.
973

edits