📄 oo_c_plus_plus.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<!--$url-minder-options$ owner=manfred@manfred-schneider.de -->
<!--$url-minder-ignore$-->
<!-- Copyright (c) 1996-2000 by Cetus Team -->
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="TEXT/HTML; CHARSET=ISO-8859-1">
<META NAME="REVISIT-AFTER" CONTENT="7 DAYS">
<TITLE>Cetus Links: 18,846 Links on Objects and Components / C++</TITLE>
<LINK REV="MADE" HREF="mailto:cetusteam@cetus-links.org">
<META NAME="AUTHOR" CONTENT="Cetus Team">
<META NAME="DESCRIPTION" CONTENT="Cetus Links: 18,846 Links on Objects and Components / C++">
<META NAME="KEYWORDS" CONTENT="Cetus Links, Cetus, Link,
Object, Component, Object-Orientation, Component-Orientation,
Orientation, OO, CBD, OOP, Class, Interface,
C++, Visual C++, NCITS, J16, ISO, ANSI, Leda, Inprise C++,
Borland C++, Borland C++Builder, Borland,
Inprise C++Builder, Inprise, Cray C++, Cray,
IBM, VisualAge, Metrowerks, CodeWarrior, Powersoft, Power++, Genitor,
Symantec C++, Symantec, Watcom C/C++, Watcom, GNU C++, GNU, STL,
Bjarne Stroustrup, Stroustrup,
Apogee C++, Apogee, Comeau C++, Comeau, Edison C++, Edison Design,
Intel C/C++, Intel, KAI C++, Kuck, KAI, MetaWare,
C++ Class Library, Class Library, ObjectSpace, Rogue Wave,
Computer, Language, Compiler, Interpreter, Code, Compilation,
Interpretation, Program, Programming, IDE, Debugger,
Collection, Resource, Archive, Software, Development, Engineering,
Example, Demo, Tutorial, FAQ, Reference, Standard, Newsgroup,
Forum, Mailing, List, Chat, Article, Interoperability, Bibliography,
Book, Proceeding, Magazine, Publication, Organization, User, Group,
Project, People, Conference, Workshop, Environment, Compiler,
Interpreter, Utility, Tool, GUI, Database, Repository, ORB, Broker,
Framework, Library, Company, Service, Product">
</HEAD>
<BODY BGCOLOR="#FFFFFF" LANG=EN BACKGROUND="side.gif">
<TABLE CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR>
<TD ALIGN=LEFT><IMG SRC="pixel.gif" WIDTH=165 HEIGHT=1><BR><IMG SRC="pixel.gif" WIDTH=20 HEIGHT=1>
<A TARGET="_top" HREF="software.html"><IMG ALT="Home" SRC="home.gif" BORDER=0 WIDTH=40 HEIGHT=40></A>
<IMG SRC="pixel.gif" WIDTH=20 HEIGHT=1>
<A TARGET="_top" HREF="#oo_search_menue"><IMG ALT="[Search / Menue]" SRC="go_search.gif" BORDER=0 WIDTH=40 HEIGHT=40></A>
<TD ALIGN=CENTER><H3>Object-Oriented Language: C++</H3>
<TD ALIGN=RIGHT><IMG ALT="[Logo]" SRC="whale.gif" WIDTH=165 HEIGHT=57>
</TR>
</TABLE>
<HR NOSHADE SIZE=1>
<UL>
<LI><B>See also</B>
<IMG SRC="arrow2.gif" WIDTH=10 HEIGHT=10> <A TARGET="_top" HREF="oo_visual_c_plus_plus.html"><B>Visual C++</B></A>
<P>
<LI><B>Intro</B>
<UL>
<LI>
<I>"C++</I> is an "object oriented" language.
Object oriented programming is a reaction to programming problems that were first seen in large programs being developed in the 70s.
All object oriented languages try to accomplish three things as a way of thwarting the problems inherent in large projects:
(1) object oriented languages all implement "data abstraction" in a clean way using a concept called "classes";
(2) all object oriented languages try to make parts of programs easily reusable and extensible;
(3) object oriented languages try to make existing code easily modifiable without actually changing the code.
<LI>
Since <I>C++</I> is an object oriented language, it possesses the three object oriented benefits discussed above.
<I>C++</I> adds two other enhancements of its own to clean up problems in the original C language or to make programming in <I>C++</I> easier than it is in C:
(1) <I>C++</I> adds a concept called "operator overloading";
(2) <I>C++</I> also cleans up the implementation of several portions of the C language, most importantly I/O and memory allocation.
<LI>
<I>C++</I> solves many other problems as well.
For example, it solves the "common code replicated in many places" problem by letting you factor out common code in a third dimension.
It solves the "I want to change the parameter type passed into a function without changing the function" problem
by letting you overload the same function name with multiple parameter lists.
It solves the "I want to make a tiny change to the way this works, but I don't have the source for it" problem,
and at the same time it also solves the "I want to redo this function completely but not change the rest of the library" problem using inheritance.
It makes the creation of libraries much cleaner. It drastically improves the maintainability of code. And so on." (Marshall Brain & Kelly Campbell)
</UL>
<P>
<LI><B>Contents</B>
<UL>
<LI>
<A TARGET="_top" HREF="#oo_c_plus_plus_start_here">Start here</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_examples">Examples</A>
<!--<A TARGET="_top" HREF="#oo_c_plus_plus_central_sites">Central Sites</A> -->
<LI>
<A TARGET="_top" HREF="#oo_c_plus_plus_tutorials">Tutorials</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_faqs">FAQs</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_glossaries">Glossaries</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_support">Support</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_references">References</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_standards">Standards</A>
<LI>
<A TARGET="_top" HREF="#oo_c_plus_plus_general_newsgroups">General Newsgroups</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_special_newsgroups">Special Newsgroups</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_national_newsgroups">National Newsgroups</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_company_newsgroups">Company Newsgroups</A>
<LI>
<A TARGET="_top" HREF="#oo_c_plus_plus_forums">Forums</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_mailing_lists">Mailing Lists</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_chats">Chats</A>
<LI>
<A TARGET="_top" HREF="#oo_c_plus_plus_general_articles">General Articles</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_special_articles">Special Articles</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_interoperability">Interoperability</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_related_sites">Related Sites</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_link_collections">Link Collections</A>
<LI>
<A TARGET="_top" HREF="#oo_c_plus_plus_bibliographies">Bibliographies</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_books">Books</A>,
<!--<A TARGET="_top" HREF="#oo_c_plus_plus_proceddings">Proceedings</A>, -->
<A TARGET="_top" HREF="#oo_c_plus_plus_magazines">Magazines</A>
<!--<A TARGET="_top" HREF="#oo_c_plus_plus_other_publications">Other Publications</A>-->
<LI>
<A TARGET="_top" HREF="#oo_c_plus_plus_organizations">Organizations</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_projects">Projects</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_people">People</A>
<!--<A TARGET="_top" HREF="#oo_c_plus_plus_conferences_workshops">Conferences / Workshops</A>-->
<LI>
<A TARGET="_top" HREF="#oo_c_plus_plus_development_environments">Development Environments</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_compilers_interpreters">Compiler / Interpreters</A>,
<A TARGET="_top" HREF="#oo_c_plus_plus_utilities_tools">Utilities / Tools</A>
<LI>
<A TARGET="_top" HREF="#oo_c_plus_plus_guis">GUIs</A>
<!--<A TARGET="_top" HREF="#oo_c_plus_plus_databases">Databases</A> -->
<!--<A TARGET="_top" HREF="#oo_c_plus_plus_orbs">ORBs</A>-->
<LI>
<A TARGET="_top" HREF="#oo_c_plus_plus_libraries">Libraries</A>,
<!--<A TARGET="_top" HREF="#oo_c_plus_plus_components">Components</A>, -->
<A TARGET="_top" HREF="#oo_c_plus_plus_other_software">Other Software</A>
<LI>
<!--<A TARGET="_top" HREF="#oo_c_plus_plus_ftp_archives">FTP Archives</A>, -->
<A TARGET="_top" HREF="#oo_c_plus_plus_other_resources">Other Resources</A>
<!--<LI>-->
<!--<A TARGET="_top" HREF="#oo_c_plus_plus_products_companies">Products / Companies</A> -->
</UL>
<IMG SRC="pixel.gif" WIDTH="1" HEIGHT=1>
<LI><B>Other pages</B>
<UL>
<LI><A TARGET="_top" HREF="oo_languages.html">Languages</A>
</UL>
</UL>
<HR NOSHADE SIZE=1>
<UL>
<A NAME="oo_c_plus_plus_start_here">
<LI><B>Start here</B>
<UL>
<LI><A TARGET="_top" HREF="http://www.acm.org/crossroads/xrds1-1/ovp.html">An Introduction to C++ (Saveen Reddy & G. Bowden Wise)</A>
<LI><A TARGET="_top" HREF="http://www.zib.de/Visual/people/mueller/Course/Tutorial/tutorial.html">Introduction to OO Programming Using C++ (Peter M黮ler)</A>
<LI><A TARGET="_top" HREF="http://www.acm.org/crossroads/doc/indices/objective-viewpoint.html">Objective View Point (ACM)</A>
<LI><A TARGET="_top" HREF="http://www.objs.com/x3h7/cplus.htm">The C++ Object Model (NCITS H7 )</A>
<LI><A TARGET="_top" HREF="http://devcentral.iftech.com/learning/tutorials/c-cpp/cpp/">Understanding C++: An Accelerated Introduction (Marshall Brain)</A>
</UL>
<P>
<A NAME="oo_c_plus_plus_examples">
<LI><B>Examples</B>
<UL>
<LI><A TARGET="_top" HREF="http://www.primenet.com/~jakubik/source-simple.html">Callbacks in C++ - Simple Solution (Paul Jakubik)</A>
<LI><A TARGET="_top" HREF="http://www.horstmann.com/cpp/pitfalls.html">C++ Pitfalls (Cay S. Horstmann)</A>
<LI><A TARGET="_top" HREF="http://www.josuttis.com/libbook/examples.html">C++ Standard Library Examples (Nicolai M. Josuttis.)</A>
<LI><A TARGET="_top" HREF="http://people.we.mediaone.net/stanlipp/generic.html">The Generic Algorithms (Stanley Lippman)</A>
<LI><A TARGET="_top" HREF="http://www.roguewave.com/products/resources/code/coffeeshop.html">Multithreaded Server Example (Rogue Wave Software)</A>
</UL>
<!--<P>
<A NAME="oo_c_plus_plus_central_sites">
<LI><B>Central Sites</B>
<UL>
</UL>-->
<P>
<A NAME="oo_c_plus_plus_fun">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -