<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3419926761584219050</id><updated>2011-04-21T21:31:05.746-07:00</updated><title type='text'>mtiagirl</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mtiagirl83.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3419926761584219050/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mtiagirl83.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mtia_girl</name><uri>http://www.blogger.com/profile/11334339905112599527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3419926761584219050.post-441945823034558189</id><published>2008-09-22T06:10:00.000-07:00</published><updated>2008-09-22T06:11:03.997-07:00</updated><title type='text'>algoritma c++</title><content type='html'>&lt;p&gt;Stroustrup began work on &lt;i&gt;C with Classes&lt;/i&gt; in 1979. The idea of creating a new language originated from Stroustrup's experience in programming for his Ph.D. thesis. Stroustrup found that &lt;a href="http://en.wikipedia.org/wiki/Simula" title="Simula"&gt;Simula&lt;/a&gt; had features that were very helpful for large software development, but the language was too slow for practical use, while &lt;a href="http://en.wikipedia.org/wiki/BCPL" title="BCPL"&gt;BCPL&lt;/a&gt; was fast but too low-level to be suitable for large software development. When Stroustrup started working in &lt;a href="http://en.wikipedia.org/wiki/AT%26T_Bell_Labs" title="AT&amp;amp;T Bell Labs" class="mw-redirect"&gt;AT&amp;amp;T Bell Labs&lt;/a&gt;, he had the problem of analyzing the &lt;a href="http://en.wikipedia.org/wiki/Unix" title="Unix"&gt;UNIX&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Kernel_%28computer_science%29" title="Kernel (computer science)"&gt;kernel&lt;/a&gt; with respect to &lt;a href="http://en.wikipedia.org/wiki/Distributed_computing" title="Distributed computing"&gt;distributed computing&lt;/a&gt;. Remembering his Ph.D. experience, Stroustrup set out to enhance the &lt;a href="http://en.wikipedia.org/wiki/C_%28programming_language%29" title="C (programming language)"&gt;C&lt;/a&gt; language with &lt;a href="http://en.wikipedia.org/wiki/Simula" title="Simula"&gt;Simula&lt;/a&gt;-like features. C was chosen because it was general-purpose, fast, portable and widely used. Besides C and Simula, some other languages that inspired him were &lt;a href="http://en.wikipedia.org/wiki/ALGOL_68" title="ALGOL 68"&gt;ALGOL 68&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Ada_programming_language" title="Ada programming language" class="mw-redirect"&gt;Ada&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/CLU_programming_language" title="CLU programming language" class="mw-redirect"&gt;CLU&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/ML_programming_language" title="ML programming language" class="mw-redirect"&gt;ML&lt;/a&gt;. At first, the class, derived class, strong type checking, &lt;a href="http://en.wikipedia.org/wiki/Inlining" title="Inlining" class="mw-redirect"&gt;inlining&lt;/a&gt;, and default argument features were added to C via &lt;a href="http://en.wikipedia.org/wiki/Cfront" title="Cfront"&gt;Cfront&lt;/a&gt;. The first commercial release occurred in October 1985.&lt;sup id="cite_ref-invention_1-0" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/C%2B%2B#cite_note-invention-1" title=""&gt;[2]&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt; &lt;p&gt;In 1983, the name of the language was changed from &lt;i&gt;C with Classes&lt;/i&gt; to C++ (++ being the &lt;a href="http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B" title="Operators in C and C++"&gt;increment operator&lt;/a&gt; in C and C++). New features were added including &lt;a href="http://en.wikipedia.org/wiki/Virtual_function" title="Virtual function"&gt;virtual functions&lt;/a&gt;, function name and operator overloading, references, constants, user-controlled free-store memory control, improved type checking, and BCPL style single-line comments with two forward slashes (//). In 1985, the first edition of &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/The_C%2B%2B_Programming_Language" title="The C++ Programming Language"&gt;The C++ Programming Language&lt;/a&gt;&lt;/i&gt; was released, providing an important reference to the language, since there was not yet an official standard. In 1989, Release 2.0 of C++ was released. New features included multiple inheritance, abstract classes, static member functions, &lt;a href="http://en.wikipedia.org/wiki/Const_correctness" title="Const correctness" class="mw-redirect"&gt;const member functions&lt;/a&gt;, and protected members. In 1990, &lt;i&gt;The Annotated C++ Reference Manual&lt;/i&gt; was published. This work became the basis for the future standard. Late addition of features included &lt;a href="http://en.wikipedia.org/wiki/Template_%28programming%29" title="Template (programming)"&gt;templates&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Exceptions" title="Exceptions" class="mw-redirect"&gt;exceptions&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Namespace_%28computer_science%29" title="Namespace (computer science)"&gt;namespaces&lt;/a&gt;, new &lt;a href="http://en.wikipedia.org/wiki/Cast_%28computer_science%29" title="Cast (computer science)" class="mw-redirect"&gt;casts&lt;/a&gt;, and a &lt;a href="http://en.wikipedia.org/wiki/Boolean_datatype" title="Boolean datatype"&gt;Boolean type&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;As the C++ language evolved, a standard library also evolved with it. The first addition to the C++ standard library was the &lt;a href="http://en.wikipedia.org/wiki/Iostream" title="Iostream"&gt;stream I/O library&lt;/a&gt; which provided facilities to replace the traditional C functions such as &lt;a href="http://en.wikipedia.org/wiki/Printf" title="Printf"&gt;printf&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Scanf" title="Scanf"&gt;scanf&lt;/a&gt;. Later, among the most significant additions to the standard library, was the &lt;a href="http://en.wikipedia.org/wiki/Standard_Template_Library" title="Standard Template Library"&gt;Standard Template Library&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;&lt;a name="Language_standard" id="Language_standard"&gt;&lt;/a&gt;&lt;/p&gt; &lt;h3&gt;&lt;span class="editsection"&gt;[&lt;a href="http://en.wikipedia.org/w/index.php?title=C%2B%2B&amp;amp;action=edit&amp;amp;section=2" title="Edit section: Language standard"&gt;edit&lt;/a&gt;]&lt;/span&gt; &lt;span class="mw-headline"&gt;Language standard&lt;/span&gt;&lt;/h3&gt; &lt;p&gt;After years of work, a joint &lt;a href="http://en.wikipedia.org/wiki/American_National_Standards_Institute" title="American National Standards Institute"&gt;ANSI&lt;/a&gt;–&lt;a href="http://en.wikipedia.org/wiki/International_Organization_for_Standardization" title="International Organization for Standardization"&gt;ISO&lt;/a&gt; committee standardized C++ in 1998 (&lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/ISO/IEC_14882" title="ISO/IEC 14882"&gt;ISO/IEC 14882&lt;/a&gt;:1998&lt;/i&gt;). For some years after the official release of the standard, the committee processed defect reports, and published a corrected version of the C++ standard in 2003. In 2005, a technical report, called the "&lt;a href="http://en.wikipedia.org/wiki/Technical_Report_1" title="Technical Report 1" class="mw-redirect"&gt;Library Technical Report 1&lt;/a&gt;" (often known as TR1 for short) was released. While not an official part of the standard, it gives a number of extensions to the standard library, which are expected to be included in the next version of C++. Support for TR1 is growing in almost all currently maintained C++ compilers.&lt;/p&gt; &lt;p&gt;While the C++ language is royalty-free, the standard document itself is not freely available.&lt;/p&gt; &lt;p&gt;&lt;a name="Etymology" id="Etymology"&gt;&lt;/a&gt;&lt;/p&gt; &lt;h3&gt;&lt;span class="editsection"&gt;[&lt;a href="http://en.wikipedia.org/w/index.php?title=C%2B%2B&amp;amp;action=edit&amp;amp;section=3" title="Edit section: Etymology"&gt;edit&lt;/a&gt;]&lt;/span&gt; &lt;span class="mw-headline"&gt;Etymology&lt;/span&gt;&lt;/h3&gt; &lt;p&gt;According to Stroustrup: "the name signifies the evolutionary nature of the changes from C".&lt;sup id="cite_ref-name_2-0" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/C%2B%2B#cite_note-name-2" title=""&gt;[3]&lt;/a&gt;&lt;/sup&gt; During C++'s development period, the language had been referred to as "new C", then "C with Classes". The final name is credited to &lt;a href="http://en.wikipedia.org/wiki/Rick_Mascitti" title="Rick Mascitti"&gt;Rick Mascitti&lt;/a&gt; (mid-1983) and was first used in December 1983. When Mascitti was questioned informally in 1992 about the naming, he indicated that it was given in a &lt;a href="http://en.wikipedia.org/wiki/Tongue-in-cheek" title="Tongue-in-cheek"&gt;tongue-in-cheek&lt;/a&gt; spirit. It stems from C's "++" &lt;a href="http://en.wikipedia.org/wiki/Operator" title="Operator"&gt;operator&lt;/a&gt; (which increments the &lt;a href="http://en.wikipedia.org/wiki/Value_%28computer_science%29" title="Value (computer science)"&gt;value&lt;/a&gt; of a &lt;a href="http://en.wikipedia.org/wiki/Variable" title="Variable"&gt;variable&lt;/a&gt;) and a common &lt;a href="http://en.wikipedia.org/wiki/Naming_convention" title="Naming convention"&gt;naming convention&lt;/a&gt; of using "+" to indicate an enhanced computer program. There is no language called "C plus". &lt;a href="http://en.wikipedia.org/wiki/ABCL/c%2B" title="ABCL/c+" class="mw-redirect"&gt;ABCL/c+&lt;/a&gt; was the name of an earlier, unrelated programming language.&lt;/p&gt; &lt;p&gt;&lt;a name="Philosophy" id="Philosophy"&gt;&lt;/a&gt;&lt;/p&gt; &lt;h2&gt;&lt;span class="editsection"&gt;[&lt;a href="http://en.wikipedia.org/w/index.php?title=C%2B%2B&amp;amp;action=edit&amp;amp;section=4" title="Edit section: Philosophy"&gt;edit&lt;/a&gt;]&lt;/span&gt; &lt;span class="mw-headline"&gt;Philosophy&lt;/span&gt;&lt;/h2&gt; &lt;p&gt;In &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/The_Design_and_Evolution_of_C%2B%2B" title="The Design and Evolution of C++"&gt;The Design and Evolution of C++&lt;/a&gt;&lt;/i&gt; (1994), Bjarne Stroustrup describes some rules that he uses for the design of C++:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;C++ is designed to be a &lt;a href="http://en.wikipedia.org/wiki/Statically_typed" title="Statically typed" class="mw-redirect"&gt;statically typed&lt;/a&gt;, general-purpose language that is as efficient and portable as C&lt;/li&gt;&lt;li&gt;C++ is designed to directly and comprehensively support multiple programming styles (&lt;a href="http://en.wikipedia.org/wiki/Procedural_programming" title="Procedural programming"&gt;procedural programming&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Data_abstraction" title="Data abstraction" class="mw-redirect"&gt;data abstraction&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Object-oriented_programming" title="Object-oriented programming"&gt;object-oriented programming&lt;/a&gt;, and &lt;a href="http://en.wikipedia.org/wiki/Generic_programming" title="Generic programming"&gt;generic programming&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;C++ is designed to give the programmer choice, even if this makes it possible for the programmer to choose incorrectly&lt;/li&gt;&lt;li&gt;C++ is designed to be as compatible with C as possible, therefore providing a smooth transition from C&lt;/li&gt;&lt;li&gt;C++ avoids features that are platform specific or not general purpose&lt;/li&gt;&lt;li&gt;C++ does not incur overhead for features that are not used (the "zero-overhead principle")&lt;/li&gt;&lt;li&gt;C++ is designed to function without a sophisticated programming environment&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;i&gt;Inside the C++ Object Model&lt;/i&gt; (Lippman, 1996) describes how compilers may convert C++ program statements into an in-memory layout. Compiler authors are, however, free to implement the standard in their own manner.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3419926761584219050-441945823034558189?l=mtiagirl83.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mtiagirl83.blogspot.com/feeds/441945823034558189/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3419926761584219050&amp;postID=441945823034558189' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3419926761584219050/posts/default/441945823034558189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3419926761584219050/posts/default/441945823034558189'/><link rel='alternate' type='text/html' href='http://mtiagirl83.blogspot.com/2008/09/algoritma-c.html' title='algoritma c++'/><author><name>Mtia_girl</name><uri>http://www.blogger.com/profile/11334339905112599527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
