zoukankan      html  css  js  c++  java
  • C++ Programming HOW−TO

    www.linuxselfhelp.com/HOWTO/C++Programming-HOWTO-13.html
    Table of Contents
    C++ Programming HOW−TO...........................................................................................................................1
    Al Dev (Alavoor Vasudevan) alavoor@yahoo.com...............................................................................1
    1. Introduction.........................................................................................................................................1
    2. String Class Varieties ..........................................................................................................................1
    3. Best C++ compilers for MS Windows 2000/NT/95/98/ME/XP .........................................................1
    4. Download String ................................................................................................................................1
    5. How Can I trust Al Dev's String Class ?? ...........................................................................................1
    6. Usage of String class...........................................................................................................................1
    7. String.h file.........................................................................................................................................1
    8. Renaming the String class....................................................................................................................2
    9. File Class.............................................................................................................................................2
    10. C++ Zap (Delete) function ................................................................................................................2
    11. Pointers are problems ........................................................................................................................2
    12. Usage of my_malloc and my_free ....................................................................................................2
    13. Debug files........................................................................................................................................2
    14. Java like API.....................................................................................................................................2
    15. IDE tools for C++ .............................................................................................................................2
    16. C++ Online Textbooks and Docs ......................................................................................................2
    17. C++ Coding Standards......................................................................................................................2
    18. C++ Online Docs..............................................................................................................................2
    19. Memory Tools...................................................................................................................................2
    20. Related URLs....................................................................................................................................2
    21. C++ Scripting Languages..................................................................................................................2
    22. Templates..........................................................................................................................................3
    23. STL References ................................................................................................................................3
    24. Threads in C++.................................................................................................................................3
    25. C++ Utilities.....................................................................................................................................3
    26. Other Formats of this Document........................................................................................................3
    27. Copyright..........................................................................................................................................3
    28. Appendix A String Program Files ....................................................................................................3
    1. Introduction.........................................................................................................................................3
    1.1 C++ v/s Java......................................................................................................................................4
    1.2 Which one Ada95, "C", "C++" or Java ??.........................................................................................4
    1.3 Problems facing the current C++ compilers......................................................................................5
    1.4 COOP − C++ Object Oriented Programming−language...................................................................6
    2. String Class Varieties .........................................................................................................................7
    2.1 Multiple Inheritance − Sample Custom String class ........................................................................7
    3. Best C++ compilers for MS Windows 2000/NT/95/98/ME/XP ........................................................8
    4. Download String ...............................................................................................................................9
    5. How Can I trust Al Dev's String Class ?? ..........................................................................................9
    6. Usage of String class...........................................................................................................................9
    6.1 Operators.........................................................................................................................................10
    6.2 Functions.........................................................................................................................................11
    7. String.h file.......................................................................................................................................11
    7.1 StringBuffer.h.................................................................................................................................17
    7.2 StringTokenizer.h.............................................................................................................................18
    8. Renaming the String class..................................................................................................................19
    8.1 Case 1: Simple rename.....................................................................................................................19
    C++ Programming HOW−TO
    i
    Table of Contents
    8.2 Case 2: Resolve conflict...................................................................................................................19
    9. File Class...........................................................................................................................................20
    10. C++ Zap (Delete) function .............................................................................................................20
    11. Pointers are problems .....................................................................................................................21
    12. Usage of my_malloc and my_free .................................................................................................22
    12.1 Garbage Collector for C++ ..........................................................................................................24
    13. Debug files......................................................................................................................................24
    14. Java like API...................................................................................................................................24
    15. IDE tools for C++ ..........................................................................................................................24
    16. C++ Online Textbooks and Docs ...................................................................................................25
    17. C++ Coding Standards.....................................................................................................................25
    18. C++ Online Docs............................................................................................................................27
    18.1 C++ Tutorials................................................................................................................................28
    18.2 Useful links...................................................................................................................................28
    18.3 C++ Quick−Reference...................................................................................................................28
    18.4 C++ Usenet Newsgroups...............................................................................................................28
    19. Memory Tools.................................................................................................................................28
    20. Related URLs..................................................................................................................................29
    21. C++ Scripting Languages................................................................................................................29
    21.1 PIKE (C/C++ Scripting Language)................................................................................................29
    21.2 SoftIntegration Ch (C/C++ Scripting Language)...........................................................................30
    21.3 PHP (C++ Scripting Language).....................................................................................................30
    22. Templates........................................................................................................................................30
    23. STL References ..............................................................................................................................31
    23.1 Overview of the STL ....................................................................................................................31
    23.2 Header Files..................................................................................................................................33
    23.3 The Container Classes Interface ...................................................................................................33
    23.4 Vectors .........................................................................................................................................34
    Constructing Vectors ...............................................................................................................34
    Checking Up on Your Vector ..................................................................................................35
    Accessing Elements of a Vector ..............................................................................................35
    Inserting and Erasing Vector Elements ...................................................................................37
    Vector Iterators ........................................................................................................................38
    Comparing Vectors ..................................................................................................................39
    23.5 Iterators and the STL.....................................................................................................................40
    23.6 Lists...............................................................................................................................................40
    23.7 Sets ...............................................................................................................................................40
    Constructing Sets......................................................................................................................40
    What are Function Objects?......................................................................................................41
    A Printing Utility......................................................................................................................44
    How Many Elements?...............................................................................................................44
    Checking the Equality of Sets..................................................................................................45
    Adding and Deleting Elements.................................................................................................46
    Finding Elements......................................................................................................................47
    Set Theoretic Operations..........................................................................................................48
    23.8 Maps..............................................................................................................................................50
    23.9 STL Algorithms............................................................................................................................50
    24. Threads in C++...............................................................................................................................50
    C++ Programming HOW−TO
    ii
    Table of Contents
    24.1 Threads Tutorial............................................................................................................................51
    24.2 Designing a Thread Class in C++..................................................................................................51
    Introduction..............................................................................................................................51
    Brief Introduction To Threads..................................................................................................51
    Basic Approach........................................................................................................................52
    The Implementation.................................................................................................................52
    Using The Thread Class............................................................................................................53
    Conclusion...............................................................................................................................54
    25. C++ Utilities...................................................................................................................................54
    26. Other Formats of this Document......................................................................................................
  • 相关阅读:
    iot 表索引dump《2》
    heap表和iot表排序规则不同
    Cannot complete the install because one or more required items could not be found.
    iot表输出按主键列排序,heap表不是
    iot 表主键存放所有数据,且按数据插入顺序排序
    iot表和heap表排序规则不同
    org.eclipse.graphiti.ui.editor.DiagramEditorInput.
    Oracle 排序规则
    perl 异步超时 打印错误
    14.6.3 Grouping DML Operations with Transactions 组DML操作
  • 原文地址:https://www.cnblogs.com/cy163/p/746474.html
Copyright © 2011-2022 走看看