C-- C++,

Home

Book Marks

Know Your Environment
*~ Quincy , Eclipse , NetBeans, Borland, Visual Studio
Getting Started :Mechanics.
Binaries, Data_Type1,Data Type2, Control Statement , Function, Preprocessor
 Arrays , Struct,Class , Pointer , Operators, Template
String, IO_Stream, Recursion
STL , STL_LIST, Vector, Algorithm, Map
Math_Library, File Handling, Windows.h
 

This page is being updated --Manas

 
 
 

About C/C++  BareBones

Notes to the reader: 
*~ Learning C++ Hello World
**~ It is not hard when you set your mind to it.
**~ Learning_CPlusPlus.htm
**~Nut Bolts of C/C++
**~Language_Template.htm
**~Coverage layout:
**~To be added (on prepearation)
*~ About C and C++
**~Only_C1.c.htm
**~C and C++ cohorts ,
**~compare malloc()/free() with new:delete
**~compare_c_cplus1.htm
*~Quitting and exit-out of a function
**~ using return and exit function in C programming
**~return_exit_functions1.htm
**~ backend compatibility of C++
**~ printf/scanf updated to cin/cout objects.
**~compare_c_cplus2.htm
**~compare C/C++ a mix matched approach
**~manage isalpha(), and isdigit()  unsafe type
**~string v.s. character sequence
**~avoid gibberish character with string.
**~string_isdigit_isalpha1.htm
**~ using break on '\0\' character
**~string_isalpha_null1.htm
**~string_isdigit_isalpha2.htm
**~ more with string class
**~string_isdigit_isalpha3.htm
**~string_isdigit_isalpha4.htm
 
 
 

Know-UR-Environment

:~ Mechanics of C/C++ :
*~Know your environment.htm
**~Basic_Understanding_2.htm
**~ Compiler and Linkers:
**~Basic_Understanding.htm
**~Basic_Understanding2.htm
**~ Eclipse and Quincy moods
**~
*~ Same compiler and runtime differences 
*~Basic_Understanding3.htm
:~NetBeans 6.8 and up IDE
**~msysDTK_installation.htm
**~NB68_CppApp1.htm
*~NetBeans6.7RC1.htm
*~Netbeans71_installation.htm
*~Netbean71_CppApp1.htm
*~Debugging with NetBeans
*~Debugging_with_NB71.htm
 
:~Eclipse IDE
*~Hello_World_CPP.htm
**~ MinGW environment in Eclipse
**~myTestWithEclipse1.htm
**~ Open an existing project
**~Open_Exisitng_Project.htm
**~ resolve new line warning in Eclipse
**~testStructFunct2.htm
**~ make portable preconfigured Eclipse
**~PreConfigured_Eclipse.htm
~Rules and Reccomndation
*~ Rules_Recommendation.htm (to be edited)
*~ MinGW compiler for NetBeans and Eclipse
**~MinGW_Installation.htm
**~MinGW_installtion.htm
*~ MinGWTesting.htm
:~ Quincy Compiler 2005 (TOP
**~ Installation and namespace std
**~  Quincy_Installation1
**~Quincy portable
**~Quincy_Portable.htm
**~ In older systems win 2000 pro
**~Walkthrough1.htm
**~Creating Quincy project
**~ Using pragma, header files in a project
***~Create_QuincyProject1.htm
**~ compared outputs using Quincy and Eclipse
**~myArray_vector1.htm and
**~myArrayVector1.htm
*~Debugging with Quincy:
**~ Step Up and Step Over
**~Debug_F7F8.htm
** Step-Over and Watch
**~Debug_F8_Watch.htm
**~ Step-Ober and Break Point
**~Debug_BreakPoint.htm
*~Virtual_Function1.htm
 
~Borland   (TOP)
~Borland55_installation.htm
**~Using Text Pad , win 7 64 bit OS 
**~ Error 2209, 2282 : resolved
**~Handle_Config_Error.htm
~ Microsoft VC++
*~Custom_header1.htm
 

End: Know Your Environment

 

Getting Started (TOP)

~Anatomy-Dissection of C++
**~Disecting_CPlus.htm

Binaries

~ Binary Values ~
**~binary_values.txt
**~calculate binaries with JavaScript
**~JavaScript_Binary_Calculator.htm
*~Calculate Binaries :
**~Eclipse IDE: myBinary1.htm
**~Quincy : myBinary2.htm

(TOP)

*~Header-Files:
**~headers_directive.htm
**~Creating Header Files
**~Custom_header1.htm
**~Ch1_InputType1.htm
**~stdio_printf.htm
**~printf of <csdtio> in C
***~ and <iostream> of C++
*~ input out with scanf, printf and cout
**~myPrintfScanf1.htm
**~scanf_printf.htm
**~ pros &  cons of  C <cstdio> printf and 
***~ C ++ <iostream> cout
**~ buffer fread , read with fgets, fread
**~myFile_prinf_cout2.htm
**~printf and cout works similar,
**~create string with char stream
**~myFile_fgetc1.htm
*~"std" NameSpace
**~using_std_namespace.htm
*~ Reading user's input
**~Ch1_InputType1.htm
-----Preprocessor directives-------
~ using #ifndef, #define and #endif
*~Ch1_InputType1.htm
~define
**~as a constant :
**~C++preprocessor_1.htm
***~C++preprocessor_constant.htm
*~like Function:
*~C++preprocessor_2.htm
**~Preprocessor_likefunction.htm
**~_define_define.htm
 
*~ Namespaces : myNamespace1.htm
 

End of Getting Started

 

Variable Basic : Data_Type1 (TOP)

Fields: Variable :Space holder for Input Type
~Variable Defined
*~Variable1.htm
~Data Types:
**~Data_type.htm
*~ Declare and define/initialize  variables
** ~Define& declare : 1
**~C++ Key Words
~Reserved Words: 1
~ Constant
**~myConstantExplained1.htm
**~Constant Costant or #define: 1

**~ integer constant, char array , string constant
**~ use of XOR (^) as arithmetic + operator
**~myConstantExplained2.htm
~Size of Data Types (Bytes)
~Sizeof_datatype.htm
~ Declaring and Initializing Variable
~sizeof_data_with_eclipse.htm
~More of Size of Intro : 1
**~ Size of different variable types;
**~sizeof_variables.htm
~Compare with : C#, Java

---------Built in primitive data type-----

*~Scope-datatype :
**~ datatype_scope.htm
~Signed or Unsigned: 1
*~myScalarInteger1.htm

-------Char -------(TOP)

*~ char data type
*~ return 0 or void (no return)
**~ Char
**~char_ascii_values.htm
**~ getline() , take user input
**~Intro1.htm
**~ string getline()
**~string_getline1.htm 
**~char numerical operation
***~ %c, %d conversion specifier
*~myCharType1.htm
**~myCharType1B.htm
**~octal, decimal, hex, ASCII values
*~inline conversion with printf
**~myCharType1C.htm
**~static_cast, *reinterpret_cast
**~myCastChar1.htm

----------Integers ------------------(TOP)

*~ Integer declared and defined
**~myInt_defined1.htm
**~ integer assign and defined
**~myInt_defined_assigned1.htm
*~ Integer Literals :  octal, hexadecimal base
**~Integer constant int n1 = 2010L;
 **~myIntHexOctBase1.htm
**~myInt_pointer1.htm
**~static integer:
**~myInt_Static1.htm
*~ reverse_integers.htm
~address and types: 1
~size of function: 1
~isdigit or alpha: 1
~short type: 1
~typedef :
~ Ch1_TypeDef1.htm
~ typedef class and integer aliases
~typedef_class1.htm
~typedef function aliases
~typedef_function1.htm
**struct typedef
**~typedef_struct1.htm
**~ struct array pointer typedef
**~myStructArrayPtr1.htm
**~myStructArrayPtr2.htm
***~myStructArrayPtr3.htm
***~create dynamic array using struct typedef
**~testStructDynamicArray1.htm
**~ Using class as a parameter and return type
**~ typedef class, using class as an array
**~testClassDynamicArray1.htm
**~myClassArrayPtr2.htm
**~ typedef, class member's scope
***~ public, protected, private
***~testClassPrivateProtected1.htm
 
 

End Of Data_Type1

 

Data Type2 : How TO (TOP)

*~Recover area data type 2
*~C++enum_1.htm
*~CSharp_enum_1.htm
*~enum_ with_VC++.htm
*~enum_ with_VC++_2.htm
*~
*~Introdunction_variables.htm
*~
*~
 
*~ compare_datatypes.htm
*~dataype_address.htm
*~datypes_signed_unsigned.htm
*~

**~Integral : bool data type

**~ compare, greater than operation
**~myBoolType1.htm

**~Integral : char data type

*~assign , addition. concat operation
**~myOperators1.htm

Integral :Integer,

*~ Integer Literals :  octal, hexadecimal base
**~Integer constant int n1 = 2010L;
 **~myIntHexOctBase1.htm

**~ Floating

**~double data type
**~cumulative interest calculation
**~myfloat_Static1.htm
**~ Operator precedence left to right
**~OpPrecedenceLeftToRight1.htm

**~float ( default is double) data type
**~myfloatEx1.htm
**~float Exponential Notation 123e1
**~myfloatdatatype1.htm
*~float, double, integer
**~myMathabs1.htm
**~ String Data Type :
**~ adding data to end or append
**~manual indexing of char array
**~ string fetching char array
**~myOperators1.htm
**~library cstring , strln() function
*~cstring_strln_function.htm
 
Derived data types
~enum : 1
~enum with C#: 1
~enum with vc++: (see enum as a class), 2
~enum and pointer
**~ void pointer explained
**~myVoidPointer1.htm 
 

End Of Data-Type 2

 

Data Conversion : Title (TOP)

 
*~Concept
~Data convesrion: c++, C#
**~data_conversion.htm
**~conversion_c++.htm
**~in built conversion specifier
**~conversion_Specifiers.htm
~ ACSII integer values from Char
**~conversion int(char)
**~char_ascii_values.htm
**~Char(integer)
**~ascii_to_char.htm
**~static_cast, *reinterpret_cast
**~myCastChar1.htm
**~explicit or forced conversion
**~explicit_data_conversion.htm
**~implicit or automatic conversion
**~implicit_data_conversion.htm
**~ integer  to long member in derived class
**~ myImplicitConversion1.htm
*~Integer To String
**~integer_to_string1.htm
**~char_to_int.htm
**~myConstantExplained2.htm
*~
*~myCharType1C.htm
*~myCharType1B.htm
*~
*~switch
*~simple_switch1.htm
 
 
 
 

End of Data Conversion

 

Control Statement  (TOP)

 
If-Else Block
**~myConditionalOperation1.htm
**~myConditionalOperattion2.htm
**~if-else exit, goto
**~myArrayIndex1.htm
Loops : 1
*~ for loops
*~loop forward (+)
**~myforloop1.htm
**~loop backward(-) and (-=) operator
**~myforloop2.htm
**~manual indexing of char array
**~ string fetching char array
**~myOperators1.htm
**~ processing struct and array
**~ testArrayStruct1.htm
**~processing pointer to array
**~myPointerToArray1.htm
**~for (-) and (+) loop
**~ with math acos and asin
**~myMathacosasin2.htm
 
*~Recovery area  of statement
*~compare_for_while_loop1.htm
*~
*~compare_three_loops.htm
*~
*~myforloop1.htm
*~myforloop2.htm
*~simple_switch1.htm
*~
*~
*~
Switch:
*~simple_switch1.htm
**~myVoidPointer1.htm
 
 
 

End of Control Statement

 
 

Operators  (TOP)

 
 
~ Operator precedence: 1. 2
*~Operator - Operations Explained
*~assign , addition. concat operation
**~myOperators1.htm

*~ assignment, add, concat(+=) operation
**~bool data type
***~ compare(==) , greater than (>) ,
***~ less than(<),
***~(!= ) not equal to ) operation
***~myBoolType1.htm
**~myNotEqualOperator1.htm
**~myConditionalOperation1.htm
**~myConditionalOperattion2.htm
**~ %=, /=, +=, hex ,*= operations
**~myAssignmentOperator1.htm
**~Unary math operator
**~ postfix and prefix increment operation
**` x++, ++x operations
**~myUnaryMathOperator1.htm
**~ What is unaray
**~ Pointer_1.htm
**~ logical OR || operator
**~myException3.htm
*~ NOT operator ( ! )
**~myNotEqualOperator2.htm
*~!= Operator , Not-Equal
*~myNotEqualOperator1.htm
**~myNotEqualOperator2.htm
**~OpAndAndShortcircuit1.htm
~Operator Precedence High to Low
**~ ( ..) precedes * , * precedes + operator
**~OpPrecedenceHighToLow1.htm
**~indirection operator *
~ referecne (& adressof ) and deference(*)
 ~ Pointer_1.htm
**~myPointer2b.htm
**~ Operator precedence left to right
**~OpPrecedenceLeftToRight1.htm
~overloading: 1
~ternary operation: 1
*~ & and Dot Operator in struct
**~teststructExtBlock2.htm
**~teststructExtBlock3.htm
 

( TOP )

**~dot and indirect-membership (->) operator
**~cls~->func1  is equivalent to (*cls).func1
**~myStructSelectionPointer1.htm
**~scope resolution   :: operator
**~testStructFunct1.htm
**~logical AND && Operation
**~**~OpAndAndShortcircuit1.htm
**~using Operator Keyword
**~'\12 as a new line break
**~usingOperatorKeyWord1.htm
*~conditional ? operator
*~ operand1 ? operand 2 : operand1
**~myConditionalOperation1.htm
**~myConditionalOperattion2.htm
*~ keyword operator+(--) function
**~string_operator_plus1.htm

------Operator Overloading ---

**~Scope Operator_Overloading.htm
*~Operatorplus_Overloaded1.htm
*~Operator_plusminus_Overload1.htm
*~Operator comma
**~comma_operator1.htm
**~string_operator_commaplus1.htm
 
 
 
 

End of Operators

 
 

Function (TOP)

 
*~Virtual Function
**~Virtual_Function1.htm
**~cstring_strln_function.htm
**~what is : 1
**~ Revisiting Hello Wrold
**~Revisit_HelloWorld.htm
**~ a Snapshot
**~function_snapshot.htm
*~ return 0 or void (no rerutn)
**~char_ascii_values.htm
*~ inline keyword :
**~    myInlineDefinition1.htm
**~pointer to function
**~myPtrToFunction1.htm
**~overloading function
**~template as "parameterized-classes"
**~ myTemplateFunct1.htm
Virtual function:
**~instead of Function Pointer
**~ Virtual_Function1.htm
**~ Archived Documents 1, 2
*~ template replacing series of functions
**~ data polymorphisms with template
**~myTemplateFunct2.htm
**Using keyword typename (template)
**~myTemplateFunct3.htm
 
 
 
 
 

Preprocessor  (TOP)

*~Recovered
*~C++preprocessor_1.htm
*~C++preprocessor_2.htm
*~C++preprocessor_3.htm
*~C++preprocessor_constant.htm
*~preprocessor_define_define.htm
*~C++preprocessor_likefunction.htm
 
Using Macros or Preprocessors: 1
**~Preprocessor and template
**~Using Function Template in a Header file
**~#ifndef MYTEMPLATE1_H_
      #define MYTEMPLATE1_H_
~~Using_Class_Template1.htm
**~ Using pragma, header files in a project
***~Create_QuincyProject1.htm
*~macros
*~myPredef_macro1.htm
~Constant or #define: 1
*~#define
**~ Used it like Macro
**~ using cout<< as a preprocessor;
**~creating proxy object for cout<<
**~ define "\n" newline in preprocessor
**~PreConfigured_Eclipse.htm
**~myNotEqualOperator2.htm
 
 
 
 
 
 

String : C/cstring and C++/string class  (TOP)

**~list of class member:
**~string_class.htm
**~Scope: Scope_string_class.htm
**~cstdio_stdio_header.htm to be edited
~ with C/cstr library <stdio.h>
**~cstring strncat(--) function
*~char_append_strncat1.htm
*~cstring : strlen() function
**~cstring_strlen_function.htm
**~ string getline() , getline(cin, str1);
**~string_getline1.htm 
*~char_string_iteration1.htm
**~ review cin and getline(cin, str1)
**~string_cin_copmare1.htm
*~Compare C/strncat with string::append
*~compare_string_append_strncat1.htm
*~Compare cstring:strlen(--) function of C with
*~ string::length of C++ with C/strlen
**~compare_string_C_Cplus1.htm
*~string can accept values of character array
**~getline_char_string1.htm
*~compare_find_memchr1.htm
*~
*~*~Operator_plusminus_Overload1.htm
*~size_type, string::lenth, size and capacity
*~size_t_size_type1.htm
*~ keyword operator+(--) function
**~string_operator_plus1.htm
**~Operator+ and Operator comma
**~operator overloading ,
*~string_operator_plus1.htm
*~string_operator_commaplus1.htm
**~ debug steps with Quincy
**~ find first character of a string
**~C/strchr compared with a function of
**~C++/String class str2.find_first_of("X-Ray")
**~string_find_first_of1.htm

String contd.  (TOP

*~ compare C/strstr and C++/string::substr() function
**~C/strncpy
**~compare_substr_Cstrstr1.htm
**~C/strtok() function and string iteration
**~dynamic memory management with new and delete
**~strcpy (chptr1, str.c_str());, string::size
**~string_iteration_Cstrtok1.htm
*~compare C++ string::assign and string::substr
**~string::begin, string::end
**~compare_substring_assign1.htm
**~compare C++/ find_last_of with C/strrchr
*~string::substr
**~find_last_of_strrchr1.htm
**~string:: at
**~string_at_iteration1.htm
**~string::compare, and strspn strcmp
**~string_compare_strnspn1.htm
**~ string::copy, string.h memcpy, strcpy, strncpy
**~string_copy_memcpy1.htm
*~string::insert
**~string_insert1.htm
**~ Splicing like function of Insert:
**~ string_insert_list_iteration1.htm
**~Lstr1.insert(it,1,"string");
**~Lstr1.begin(); it !=Lstr1.end()
**~string_insert_list_insert1.htm
**~ string::iterator , split string with string::insert
**~string_iteration_insert1.htm
*~string;;insert and split target string
**~ insert with a defined length of source.
**~string_insert_split1.htm
**~string::length , string::pushback, capacity
**~string_length_pushback1.htm
**~Reverse Iteration
**~string_rbegin_rend1.htm
**~string::replace
**~string_replace1.htm

 

*~
 
 
 
 
 
 

IO_Stream  (TOP)

 
*~ Info : iostream_library.htm
**~IntoIOStream1.htm
*~Basic :what to Know : 1
**~ FAQ : IO_FAQ1.htm
*~ C cstdio library and stdio header file scope
**~ C++ relies on classes and object
**~cstdio_stdio_header.htm
**~ <ios>, cout, cin, cout.width(), fill
**~ <iostream>, char as a function
**~cin.getline(ch4,100); 
**~myIOS1.htm
**~myIOS2.htm
**` put
**~myIOS_coutput1.htm
~getchar() puts(): 1
~pets and puts string : 1
 
*~ fstream,ostream ifstream
**~ open and read a text file, ifstream open()
**~data.open("data.txt");
**~data.read(ch1,100);
~**~myNotEqualOperator2.htm
**~reading dat or txt file to fetch an array
**~myArrrayHighestLowest.htm
**~ getline and ifstream eof()
**~myfstream_readtext1.htm
**~ ifstrea.getline, and read() functions
**~myfstream_readtext2.htm
**~myfstream_readtext3.htm
*~ofstream write to the file
**~Append text : ios::app
**~ myofstream_appendText1.htm

*~writing text with fstream
**~myfstream_addingText1.htm
**~create file and write text with ofstream
**~myofstream_createFile1.htm
**~ofstream file stream stack & constructor
**~myofstream_constructs1.htm
*~create, writeand reading binaries,
**~<fstream> for ofsrteam, ifstream
**~ofstream.write() and ifstream.read() function
**~myfstream_binaries1.htm
**~myfstream_binaries2.htm
**~ifstream.get(); text files (not binaries)
**~write object using a class object
**~myifstream_get1.htm
**~compared ifstream get and peek(0 functions
**~get = unformatted data from stream
**~peek next chracter
**~myifstream_peek1.htm
**~reading binariy data with seekg
**~seeg = set pointer's position
**~random access , strcpy
**~myostream_RandomAccess.htm
**~ostream.seekp operation
**~inherited from ostream.
**~myostream_seekp1.htm
**~ifstream seekg and tellg()
**~tellg= get pointers location
**~myofstream_seekg1.htm
**~myofstream_constructs1.htm
**~passing char array[ ] ="filename" parameter
**~myofstream_constructs2.htm
**~<strstream>\/ostrstream

 (TOP)

**Manipulators
**~myIO_Boolalpha.htm
**~oct, hex, ends, endl, fixed, scientific
**~myIO_ends_fixed1.htm
**~ostr1<< str1<<ends;
**~myofstream_constructs3.htm
**setw, width, fill, setfill, left, right. internal
**~myios_setw1.htm
**~setw set-field-width,uppercase
**~nouppercase
**~myios_uppercase1.htm
**~dec<< j << " " ;
uppercase << i ;nouppercase << h;
showbase <<k ; noshowbase <<k ;
showpoint, noshowpoint
**~myios_showbase1.htm
**~myios_skipws1.htm
**~flush
**~myios_flush1.htm
**~ File System : File_system_scope.htm
 
 

End of IO File

 
 

Arrays (TOP)   (TOP)

 
KeyNotes_ArraysOfStructure.htm
*~char array
**~myArray1.htm (note diff Eclipse & Qunicy)
**~myArray1B.htm
**~manual indexing of char array
**~ string fetching char array
**~myOperators1.htm
**~Arrays are indexed
**~myArrayIndex1.htm
**~ highest and lowest array number
**~myArrayHighestNum.htm
**~implicit array
**~myArrayImplicit1.htm
**~passing implicit array as parameter
**~myArrayImplicit2.htm
**~passing array as parameter
**~myArrayNested3.htm
**~myArrayNested4.htm
**~partial array initialization
**~myArrayPartial1.htm
**~run out of index
**~myArrayPartialImplicit1.htm
**~myArrayPartialImplicit2.htm
**~reading dat or txt file to fetch an array
**~myArrrayHighestLowest.htm
**~reading text and add to an array
**~myArrayFileText.htm
**~ sort array with algorithm
**~myArraySort.htm
**~Array within array :
**~nested Array
**~myNestedArray1.htm
**~ double n1[row][column]
**~myArrayTwoD2.htm
**~ sum of the elements
**~myArrayNestedSum.htm
**~ using typedef as global
**~ array as parameter argument
**~myArrayNested3.htm
**~multidimensional, more than two arrays
**~myArrayNested4.htm
**~ Arrays and pointers
**~ pointer to char array
**~myPointertoChar1.htm
**~pointer to array element
**~myPtrtArrayElement1.htm
**~import or streamline an from a source
**~myArrayImport1.htm
**~ Arrays and Struct
**~struct and array data type
**~KeyNotes_ArraysOfStructure.htm
**~testStructArrayLike1.htm
**~ testArrayStruct1.htm
*~return a pointer to an array element
**~myRtnPtrToArray1.htm
**~pointer new and delete operation ,
**~used for loop
**~ myPtrArrayNew1.htm
**~using while loop
**~myPtrArrayNew2.htm
**~ struct array pointer typedef
**~myStructArrayPtr1.htm
*~myStructArrayPtr2.htm
***~myStructArrayPtr3.htm
***~create dynamic array using struct typedef
**~testStructDynamicArray1.htm
**~ Using class as a parameter and return type
**~ typedef class, using class as an array
**~testClassDynamicArray1.htm
**~get text with getchar()
**~myArraygetchar1.htm
**~ array and static class member
**~myClassArrayStaticMember1.htm
**~ sizeof(n1)/sizeof(n1[0])
**~transform: vector and array
**~difference in Quincy and Eclipse
**~ostream_iterator
**~myArray_vector1.htm
**~myArrayVector1.htm
**~myAlgo_transform1.htm
 
 

End of Array

 
 

 

KeyNotes_ArraysOfStructure.htm
*~char array
**~myArray1.htm (note diff Eclipse & Quincy)
**~myArray1B.htm
**~manual indexing of char array
**~ string fetching char array
**~myOperators1.htm
**~Arrays are indexed
**~myArrayIndex1.htm
**~ highest and lowest array number
**~myArrayHighestNum.htm
 
 
 
 
 

Struct (TOP)

 
Basic info: 1
*~PointerFunction_Tutorials.pdf
Structure : Struct keyword
**~compared with array and class
**~ dot operator in pointer objects
**~ heterogeneous  data-type
**~ testMyStruct1.htm
**~testmystructSerial1.htm
**`struct initialized in an external block
**~teststructExtBlock1.htm
**~ using memcpy() with struct
**~ using & operators , sizeof operator
**~teststructExtBlock2.htm
**~ struct reuses a base struct template
**~teststructExtBlock3.htm
**~struct and function 
**~scope resolution   :: operator
**~testStructFunct1.htm
**~ using struct as an argument
**~ resolve new line error
**~ members can be initiated in sequence
**~testStructFunct2.htm
**~struct and array data type
**~testStructArrayLike1.htm
**~ testArrayStruct1.htm
**~dot and indirect-membership (->) operator
**~cls~->func1  is equivalent to (*cls).func1
**~myStructSelectionPointer1.htm
**~ struct array pointer typedef (->) operator
**~myStructArrayPtr1.htm
**~ struct array pointer typedef
**~myStructArrayPtr1.htm
*~myStructArrayPtr2.htm
***~myStructArrayPtr3.htm
***~create dynamic array using struct typedef
**~testStructDynamicArray1.htm
**~ struct - template
**~myStructTemplate1.htm
**~class is a struct with added features
**~myClassOrStruct1.htm
--Inheritance : polymorphism----
**~myStructInheritance1.htm

Union (TOP)

 
 
 

Pointer (TOP)

 
Basic info: 1
~what is pointer:
~ Quincy Compiler :
**~indirection operator *
~ reference (& adressof ) and deference(*)
**~pointer_rules_tips.htm
**~myDefPtr1ClassMember1.htm
 ~ Pointer_1.htm,
**~pointer arithmatic
**~myPointer2b.htm
~Eclipse :
**~  myPointer1.htm
**~pointer to pointer
**~~myPointer2.htm
~use of * pointer: 1
*~ Deletion and NULL pointers
*~myPointer3a.htm (with eclipse)
**~myPointer3.htm (with vs-2010)
**~ pointer to integer and double array
**~constant pointer
**~constant_pointer.htm
**~myPointer4.htm
**~ pointer to char array
**~myPointertoChar1.htm
**~pointer to array element
**~myPtrtArrayElement1.htm
**~pointer to function
**~myPtrToFunction1.htm
**~myPtrToFunction2.htm
**~ use parameter by reference ( & )
**~ myPointertoFunct1.htm
**~myPtrAsParam1.htm
**~ returns a pointer like * y
**~myPtrAsParam2.htm
**~pointer to array
**~ using for loop
**`myPointerToArray1.htm
**~using while loop
**~myPointerToArray2.htm
**~pointer within while loop condition
**~myPointerToArray3.htm
*~return a pointer to an array element
**~myRtnPtrToArray1.htm
**~ function returns a pointer
**~ pointer imports an array
**~myPtrAsParam2.htm
**~myPtrImportArray1.htm
**~Dynamic pointer to array
**~pointer new and delete operation
**~ myPtrArrayNew1.htm
**~using while loop
**~myPtrArrayNew2.htm

Pointer (contd.)( TOP )

**~ struct - template
**~myStructTemplate1.htm
**~ struct array pointer typedef
**~myStructArrayPtr1.htm
**~ struct array pointer typedef
**~passing object with member function
**~myStructArrayPtr1.htm
**~myStructArrayPtr2.htm
***~myStructArrayPtr3.htm
**~myClassArrayPtr1.htm
**~myDefPtr1ClassMember1.htm
***~create dynamic array using struct typedef
**~testStructDynamicArray1.htm
**~ void pointer explained
**~myVoidPointer1.htm
**~prefix and post fix increment pointer
**~myPtrPrePostIncrement1.htm
**~Class default constructor destructor
*~pointer to class
**~myPointerToClass1.htm
**~pointer to class member function
**~myPtrToClassFunction1.htm
**~myPtrToClassFunction2.htm
**~myPtrToClassFunction3.htm
**~pointer to class member variable
**~pointer to boolean data type
**~myClassConstructorShuttle1.htm
**~myPointerToClassVariable1.htm
**~pointer to Base Class
**~myPointerToBaseClass1.htm
**~uses this pointer to member variables
**~myPointerToBaseClass3.htm
*~pointer_to_string1.htm
 

End of Pointer

 

Exception  (TOP)

*~pointer_1.htm
** ~Error Handling with Try-Catch Block
**~comparison (==) operator
** goto statement, throw key word
**~ exit(1) function
**~myException1.htm
**myException2.htm
**~ OR || operator
**~myException3.htm
 
 
 

Class  (TOP)

 
*~Temp- Recovery Area  this section , trouble during upload
*~myClassVirtualInherit1.htm
*~*~Operator_plusminus_Overload1.htm
*~*~myClassVirtualInherit1.htm
*~*~~myClassCOMVtable1.htm
*~Namespaces: myNamespace1.htm
*~Operator Key Word Overloading
*~Operator_plusminus_Overload1.htm
Basic :
**~static class members
**~ static member  variables
**~myClassStaticMember1.htm
**~myClassStaticMember2.htm
**~ array and static class variable member
**~myClassArrayStaticMember1.htm
**~ static member function
**~myClassStaticMember3.htm
**~myStaticMemebers1.htm
**~Using Quincy 2005 and win 2000 pro
**~Access Modifiers :
**~ Public or Private or Protected
**~explained dot-operator (.) to object
**~explained arrow(->) operator to pointer
**
~cls~->func1  is equivalent to (*cls).func1
***~ simple_class1.htm 
**~class is a struct with added features
**~myClassOrStruct1.htm
**~Class default constructor destructor
*~pointer to class
**~myPointerToClass1.htm
**~passing pointer to class object as parameter
**~class char array member, typedef
**~myClassArrayPtr1.htm
**~myClassArrayPtr2.htm
**~pointer to class member function
**~void(Base::*aBase)(int, double)=&Base::setdata;
**~myDefPtr1ClassMember1.htm
**~pointer to Base Class
**~myPointerToBaseClass1.htm
**~ declaring function outside of the class
**~myClassFuncPrototype1.htm
**~myDefPtr1ClassMember1.htm
**~ constructor and destructors
**~constructor , function overloading
**~myClassContrucOverload1.htm
**~overloading constructor and member function
**~myClassConstructOverload2.htm
--Inheritance : polymorphism----
**~compared with struct
**~Binary Scope Resolution Operator ::
**~myStructInheritance1.htm
**~myClassInheritance1.htm
**~enum class member
**~myTypesInClass1.htm
**~myTypesInClass2.htm
**~ typedef, class member's scope
***~ public, protected, private
***~testClassPrivateProtected1.htm
**~Derived class inherits base class
**~ myImplicitConversion1.htm
**~myPolymorphism1.htm 
**~ friend class , and nested class
**~myFriendClass1.htm
**~compare virtual and public inheritance
**~multiple inheritances
**~myClassVirtualInherit1.htm
**~class delegation
**~myClassDelegation1.htm
**~myClassDelegation2.htm
**~Class default constructor destructor
**~pointer to class member function
**~myPtrToClassFunction1.htm
**~myPtrToClassFunction2.htm
**~myPtrToClassFunction3.htm
**~users and explicitly defined  constructor
***~copy constructor, outside the class braces.
***~myConstructDeclDef1.htm
**~copy constructor
**~myClassCopyConstructor1.htm
**~myClassCopyConstructor2.htm
**~myClassCopyConstructor3.htm
**~myClassCopyConstructor4.htm
**~ assign and copy constructor
**~myAssignCopyConstructor1.htm
**~myAssignmentOperator2.htm
**~pointer to class member variable
**~pointer to Boolean data type
**~functions as events in c++
**~myClassConstructorShuttle1.htm
**~pointer to class member function , variable
**~myPointerToClassVariable1.htm
**~ derived class uses pointer to base
**~ class member function and variable
**~myPointerToClassVariable2.htm
**~ Using class as a parameter and return type
**~ typedef class, using class as an array
**~testClassDynamicArray1.htm
 
**~compare friend and public scopes
**~testClassFriend1.htm
~ Using Template <T> class
**~Using Function Template in a Header file
~~Using_Class_Template1.htm
**~myClassTemplate1.htm
**~myClassTemplate2.htm
**~Non-Type Template
**~myClassNonTypeTemplate1.htm
**~ Operator+ key word
**~overloading operator+ class member
*~virtual member function
**~ operator+
**~myClassOpOverload1.htm

------COM /ATL-----

**~Virtual Function, Abstract Class
**~myClassCOMVtable1.htm
 
----------Class and STL--------
*~vector push_back, using class constructor
**~myVectorClassConstructor2.htm
 
 
 
 
 
 

End Of Class

 

Template  (TOP)

 
-----------Intro and Preface: --------
-----------Function and Template ------------
**~overloading function
**~template as "parameterized-classes"
**~ myTemplateFunct1.htm
**~template explained
*~ template replacing series of functions
**~ data polymorphisms with template
**~passing template parameter as arguments
**~myTemplateFunct2.htm
**Using keyword typename (template)
**~ no generic key word with MinGW/Eclipse
**~myTemplateFunct3.htm
**~ pass template parameter as a  reference
** ~ use & operator in tempate-ref
**~myTemplateParamRef1.htm
**~using template parameter as a pointer
**~myTemplateParamPointer1.htm
**~Parameter Type
**~ Template Type
**~myTemplateTypeParam1.htm
**~ struct - template
**~ passing polymorphic type of parameter
**~myStructTemplate1.htm
**~ Explicit Function template Specialization
**~myTemplateExplicit1.htm
**~Non-Type template parameter
**~myStructNonTypeTemplate1.htm
**~myClassNonTypeTemplate1.htm

 ( TOP )

*` --- class-template
**~Using Function Template in a Header file
~~Using_Class_Template1.htm
**~myClassTemplate1.htm
**~myClassTemplate2.htm
*~ Type to scale down /specific Non-Type
**~myClassTemplate3.htm
**~Non-Type Template
**~myClassNonTypeTemplate1.htm
 
 
 
 

windows.h  (TOP)

*~ only NetBeans 7.1 will support at XP
*~Thread
*~Test_Thread1.htm
*~Sleep(--): windows_sleep1.htm
 
 

Recursion (TOP)

*~**~myRecursionIf1.htm
**~myMapRecursionIf2.htm
 
 
 
 

STL  (TOP)

**~STL Containers and Algorithm
*~Standard Template Library
*~intro_STL1.htm
**~stl_lib_members.htm
**~list members : list_members.htm

STL-LIST  (TOP)

**~List ( TOP )
**~ list::iterators is the most common of all
**~list<string>:: iterator it;
**~ reading simple integer array
**~myList1.htm
**~myListsConstructor1.htm
**~reading simple char or string
**~myList2.htm
**~ list in java: simple_list.htm
**~ ---List access to element----
**~myListFrontBack.htm
**~---------list capacity -------------
***~List size() function;
***~myList3.htm
***~list empty() : myList4.htm
**~list.resize(3)
***~myList5.htm

**~----------List modifiers------( TOP ) ----------
**~ assign(), =
**~list::operator =
***~myListAssign1.htm
***~myListAssign2.htm
**~ push_back, push_front
**~myListPushBackFront.htm
**! pop_bak, pop_front
**~myListPopBackFront.htm
**~ erase 1st element pop_front
**~myListPopErase.htm
**~ erase last element pop_back
**~myListPopBack.htm
**~list erase removing one element at time
**~myListErase.htm
**~ list::insert ( TOP )
**~ insert at default : end
**~myListInsert1.htm
**~ insert at the top (with begin())
**~myListInsert2.htm
**~insert with ref to top element
**~imyListInsert3.htm
**~insert another list-object
**~myListInsert4.htm
**~list removal
**~myListremove1.htm
**~ list reverse iteration :reverse::iterator
**~list::rbegin, list::rend
**~myListrbegin1.htm
**~list:: sort
**~myListsort.htm
**~list::splice layer on the top of a list
***~myListsplice1.htm
**~list::spilce into 3rd spot of a list
**~myListsplice2.htm
**~swap
**~myListswap1.htm
**~list and adjacent_find(()
**~myAdjacent_find1.htm

STL-VECTOR (TOP)

**~ array and vector
**~ statistical deviation with array
**~myArrayVector1.htm
**~vector members:
**~vector_members.htm
**~vector_member2.htm
**~vector and list compared
**~myvectorNlist1.htm
**~vector::insert
**~myvectorNlist1.htm
*~myVectorConstructor1.htm
*~push_back, using class constructor
**~myVectorClassConstructor2.htm
**~vector assign, begin, end, iterator
**~myVectorAssign1.htm
**~vector::at
**~myVectorAt1.htm
**~ at, capacity, push_back
**~myVectorAtCapacity1.htm
**~myVectorCapacity1.htm
**~iterator,
**~ myVectorIterator1.htm
**~ostream_iterator , transform
**~myAlgo_transform1.htm
**~binary_serarch
**~mybinary_search1.htm
**~copy
**~ myalgorithm_copy1.htm
**~copy_backword
**~myalgo_copybackword1.htm
**~count function
**~myAlgo_count1.htm
**~count_if
**~myAlgo_count_if1.htm
**~equal
**~myAlgo_equal1.htm
**~find : myAlgo_find1.htm
**~v2.resize(i)
**~my_partial_sort_copy1.htm
**~transform: vector and array
**~difference in Quincy and Eclipse
**~ostream_iterator
**~myArray_vector1.htm
**~myArrayVector1.htm
**~ostream_iterator , transform
**~myAlgo_transform1.htm
**~passing vector as a parameter
**~myAlgo_permutation1.htm
**~push_back, append an element ,
**~sort_heap
**~myAlgo_sort_heap1.htm

STL: Algorithm  (TOP)

**~stl_library_algorithm.htm
**~algorithms.htm
**~sort array
**~myArraySort.htm
**~list and adjacent_find(()
**~myAdjacent_find1.htm
**~ vector and adjacent_find() 
**~myAdjacent_find2.htm
**~myadjacent_find.htm
**~binary_serarch
**~mybinary_search1.htm
**~copy
**~ myalgorithm_copy1.htm
**~copy_backword
**~myalgo_copybackword1.htm
**~count function
**~myAlgo_count1.htm
**~count_if
**~myAlgo_count_if1.htm
**~equal ,ostream_iterator< int > output
**~myAlgo_equal1.htm
**~equal_range
**~myAlgo_equal_range1.htm
**~fill
**~myAlgo_fill.htm
**~fill_n
**~myAlgo_fill_n1.htm
---Back to -( TOP ) -------------------
**~find : myAlgo_find1.htm
**~find_end :myAlgo_find_end.htm
**~finf_if
**~myAlgo_find_if1.htm
**~for_each : myAlgo_foreach1.htm
**~generate : myAlgo_generate1.htm
**~inplace_merge :
**~myAlgo_inplace_merge1.htm
**~iter_swap: myAlgo_iter_swap1.htm
**~lexicographical_compare
**~myAlgo_lexi_compare1.htm
**~lower_bound:
**~myAlgo_lowerbound1.htm
**~make_heap :
**~ myAlgo_make_heap1.htm
**~max :myAlgo_max1.htm
**~max_element:
**~myAlgo_max_element1.htm
**~merge :myAlgo_merge1.htm
**~min : myAlgo_min1.htm
**~min_element :
**~myAlgo_min_element1.htm
**~mismatch, pair iteration
**~myAlgo_mismatch1.htm
**~ next_premutation
**~myAlgo_permutation1.htm

---Back to -( TOP ) ----Algorithm (contd)----------
**~nth_element :
**~myAlgo_nth_element1.htm
**~partial_sort
**~myAlgo_partial_sort1.htm
**~partial_sort_copy
**~v2.resize(i)
**~my_partial_sort_copy1.htm
**~partition :
**~myAlgo_partition1.htm
**~pop_heap:
**~myAlgo_pop_heap1.htm
**~push_heap, random_shuffle, pop_heap
**~myAlgo_push_heap1.htm 
**~  prev_permutation
**~myAlgo_prevmutation1.htm
**~transform: vector and array
**~difference in Quincy and Eclipse
**~ostream_iterator
**~myArray_vector1.htm
**~myArrayVector1.htm
**~ostream_iterator , transform
**~myAlgo_transform1.htm
**~sort, copy, ostream_iterator
**~myAlgo_inplace_merge1.htm
**~sort, sort_heap, make_heap, random_shuffle
**~myAlgo_sort_heap1.htm
---Back to -( TOP ) ----Algorithm (contd)---------
**~remove erase
**~myAlgo_remove_erase1.htm
**~remove_copy:
**~myAlgo_remove_copy1.htm
**~remove_copy_if:
**~myAlgo_remove_copy_if1.htm
**~remove_if, comapre with remove_copy_if
**~myAlgo_remove_if1.htm
**~replace_copy
**~myAlgo_replace_copy1.htm
**~replace_copy_if
**~myAlgo_replace_copy1.htm
**~replace_copy_if
**~myAlgo_remove_copy_if1.htm
**~replace_if
**~myAlgo_replace_if1.htm
**~reverse, reverse_copy
**~myAlgo_reverse1.htm
**~rotate : myAlgo_rotate1.htm
**~rotate, rotate_copy
**~myAlgo_rotate_copy1.htm
**~search , search_n
**~myAlgo_search1.htm
**~myAlgo_search_n1.htm
**~set_difference
**~myAlgo_set_difference1.htm
**~set_intersection
**~myAlgo_set_intersection1.htm
**~set_symmetric_difference
**~myAlgo_symmetric_difference1.htm
**~set_union
**~myAlgo_set_union1.htm
---Back to -( TOP ) ----Algorithm (contd.)-------
**~sort :
**~ myAlgo_inplace_merge1.htm
**~sort_heap:
**~myAlgo_sort_heap1.htm
**~sort, sort_heap, make_heap, random_shuffle
**~myAlgo_sort_heap1.htm
**~stable_partition
**~myAlgo_stable_partition1.htm
**~stable_sort
**~myAlgo_stable_sort1.htm
**~swap
**~myAlgo_swap1.htm
**~transform
**~myAlgo_transform1.htm
**~unique: myAlgo_unique1.htm
**~unique_copy:
**~myAlgo_unique_copy1.htm
**~upper_bound:
**~myAlgo_upperbound1.htm

STL: map (TOP)

**~ map with iteration  and recursion
**~myMapIteration1.htm
**~myRecursionIf1.htm
**~myMapRecursionIf2.htm
**~ swap , begin, end
**~myMapswap1.htm
**~ map.upper_bound
**~myMapUpperBound1.htm
**~map lower_bound
**~myMapLowerBound1.htm
**~insert compared with mapobj["A"]="Phrase"
**~myMapInsert1.htm
**~ digit tops the alphabets in map
**~myMapInsert2.htm
**~map count return 0 when not found
**~size_type
**~myMapCount1.htm
*~map::euqal_range("ad")
**~myMapequal_range1.htm
**~myMapequal_range2.htm
**~map and multimap equal_range();
**~myMapequal_range3.htm
**~ clear() and size()
**myMapclear1.htm
**~map and multimap empty
**~myMapempty1.htm
**~map and multimap erase
**~myMapMultiMapErase1.htm
**~myMapMultiMapErase2.htm
**~map and multimap rend
**~myMapMyltiMaprend1.htm
**~map and multimap
***~ key_compare, key_comp()
***~myMapMultiMapkey_comp1.htm
***~myMapMultiMapkey_comp2.htm
***~myMapMultiMapkey_comp3.htm

(TOP)

**~map and stack push:pop
**~myStackPushPop1.htm
 
 

End of STL

 

File Handler (TOP)

 

FILE /handlers cstdio stdio.h

**~clearerr, perror
**~myFile_perror1.htm
**~ferror, ftell ( size) , fseek,SEEK_END);
**~fputc, fgets
**~mmyFile_ferror1.htm
**fopen, fclose, fputs, fgets,
**~passing filename as parameter
**~myFile_fopen1.htm
**~mmyFile_ferror1.htm
**~compare fputs and fprintf, fgets
**~myFile_fputs_fprints.htm
**~fgetpos
**~myFile_fgetpos1.htm
**~ fgetpos, fread,
**~myFile_prinf_cout2.htm
**~fgetpos(fp,&pos);
**~fread( buffer, sizeof( char ),21, fp );
**~fsetpos(fp, &pos1);
**~myFile_fgetpos2.htm
**~ create string from character stream
**~compare fgetc and fgets
**~myFile_fgetc1.htm
**~fflush
**~myfile_fflush1.htm
**~fwrite
**~myFile_fwrite1.htm
**~getc : myFile_getc1.htm
**~fprintf, puts
**~myFile_puts_fprintf1.htm
 
 
 
 

math_librarry (TOP)

math.h library( TOP )

*~ abs function:
*~float, double, integer
**~myMathabs1.htm
**~Math acos and asin function
**~myMathacosasin1.htm
**~for loop (+) and (-)
**~myMathacosasin2.htm
 
 
 
 
 
 
 

Title (TOP)

 
 
 
 
 
~Templates : Coming More

Title (TOP)

 
 
 
 
 
 
 
 
 
Frontiersoft C/C++ Library