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
评论0