::
Reload::This Page
Home :BareBone-CplusPlus
Home C++
What we are
Our Mission
test.php
phpinfo.php
phpServer Name
coming soon 2
get()1
get()2
get()3
get()4
FYI About This Document : This section introduces the basic aspects of C/C++ programming.
Know C++
Learning_CPlusPlus.htm
get()1
get()2
Header Files
headers_directive.htm
C++preprocessor_1.htm
Namespace
myNamespace1.htm
scope_namespace1.htm
Lab Hands on : Jump Start
Lab 1~ About C and C++
Only_C1.c.htm
Lab 2~C and C++ cohorts ,
using return and exit function in C programming goto statement in c/c++
return_exit_functions1.htm
Lab 3:~ iostream, cin and cout introduced insertion(<<) and extraction(<<) operators
iostream_cin_cout1.htm
Lab 4~streaming with cin and ">>" operator ios-base, ios::badbit, error flag
cin_stream1.htm
Lab Hands On II:
Lab 5 compare malloc()/free()
with new:delete stack and heap discussion
compare_c_cplus1.htm
Lab 6: gets() function does check on size and type stack overflow, stack and heap
gets_unsafe1.htm
Lab 7 ios::failbit, ios::badbit, cin.fail(), cin.bad(), cin.rdstate(), cin.ignore, ios::setstate
char_array_getline1.htm
Lab : 8 malloc() and realloc functions gets(pointer);
msize_realloc_malloc1.htm
Lab 9 malloc() briefing , realloc function Handle oversized
data input and with a exit() function statement, strncpy(p1,array);
simple_malloc_realloc1.htm
Lab 10 memory allocation with new and delete operator common mix-match issue unexpected result with oversized data serialize string to char array string to character array conversion
char_new_delete1.htm
Lab 11 new delete, string to pointer getline(cin,str1);
string_new_delete1.htm
Lab 12 Quitting and exit-out of a function backend compatibility of C++ printf/scanf updated to cin/cout objects. Eclipse IDE stumbled with
"scanf()"
compare_c_cplus2.htm
Lab-13 c++ namespace, using namespace std;
scope_namespace1.htm
Lab-14 NULL in C/C++
compare_null1.htm
get()2
get()3
get()4
Know Your Environment -I : Using Eclipse Plugins, and Quincy Compiler
get()1
Know your environment.htm
Basic_Understanding_2.htm
Compiler and Linkers:
Basic_Understanding.htm
Basic_Understanding2.htm
Basic_Understanding3.htm
Linux : Ubuntu
myfirst_Cplus1.htm
get()4
Know Your Environment -II
Using NetBeans
msysDTK_installation.htm
NB68_CppApp1.htm
NetBeans6.7RC1.htm
Netbeans71_installation.htm
Netbean71_CppApp1.htm
Debugging with NetBeans
Debugging_with_NB71.htm
Eclipse
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
preconfigured Eclipse
PreConfigured_Eclipse.htm
Rules and Reccomndation
Rules_Recommendation.htm
MinGW compiler for NetBeans and Eclipse
MinGW_Installation.htm
MinGW_installtion.htm
MinGWTesting.htm
Know Your Environment -III
Using Quincy an Qute:
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
Compare outputs in Quincy : Eclipse
myArray_vector1.htm
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
Using Borland 5.x
Borland55_installation.htm
Eror 2209, 2282 resolved
Handle_Config_Error.htm
Using Visual Studio
Visual C++
Custom_header1.htm
QT :
QTinstallation_win81.htm
ch1.htm
QTFirstCPPConsole.htm
Getting started I: Binaries, Headers and Preprocessor directives
Binaries
Disecting_CPlus.htm
binary_values.txt
Calculate binaries with JavaScript
JavaScript_Binary_Calculator.htm
Calculate Binaries :
Eclipse IDE
myBinary1.htm
Quincy :
myBinary2.htm
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
Preprocessor directives
C++preprocessor_1.htm
C++preprocessor_2.htm
C++preprocessor_3.htm
C++preprocessor_constant.htm
preprocessor_define_define.htm
C++preprocessor_likefunction.htm
Variable Basics Data_Type1 :Defined, Primitive Data Type, Char Data Type, Constants, sizeof , compare with C# and Java
Introdunction_variables.htm
compare_datatypes.htm
dataype_address.htm
datypes_signed_unsigned.htm
Data_type.htm
Declare and define/initialize variables
Define& declare :
variable_define_declare.htm
C++ Key Words
Reserved Words:
reserved_words.htm
Constant
myConstantExplained1.htm
Constant or #define:
constant_datatype.htm
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 :
Introdunction_varialbes.htm
Size of different variable types;
sizeof_variables.htm
Compare with
C# compare_datatypes.htm
Java compare_with_java.htm
Variable Basics Data Type2:Integer Data Type, Char Data Type, address and Type, isdigit or alpha, short type, typedef
Data Types:
Data_type.htm
Declare and define/initialize variables
Define& declare :
variable_define_declare.htm
C++ Key Words
Reserved Words:
reserved_words.htm
Constant
myConstantExplained1.htm
Constant or #define:
constant_datatype.htm
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 :
Intro_variables.htm
Size of different variable types;
sizeof_variables.htm
Compare with
compare C++ with C#
,
Comare C++ with Java
Data Type III: user defined, address of, boolean hexadecimal, assing , addition, octal, double/float data type, string , derived data type
Data_type.htm
Signed or Unsigned
myScalarInteger1.htm
Char Data Type
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 --------
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
Data Type IV: 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
Data Type V: Float, enum, string
Revisiting Data Type Intr0
Introdunction_variables.htm
compare_datatypes.htm
dataype_address.htm
datypes_signed_unsigned.htm
Enumeration : Enum data Type
C++enum_1.htm
CSharp_enum_1.htm
enum_with_VC++.htm
enum_with_VC++_2.htm
Integral : bool data type
compare, greater than operation
myBoolType1.htm
compare, greater than operation
myBoolType1.htm
assign , addition. concat operation
myOperators1.htm
Integer constant int n1 = 2010L
myIntHexOctBase1.htm
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
sub headings
get()3
**~ 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
Data Conversion:
Data convesrion:
conversion_c++.htm
data_conversion.htm
C# implicit_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
Control Statement
If-Else Block
myConditionalOperation1.htm
myConditionalOperattion2.htm
if-else exit, goto
myArrayIndex1.htm
Loops :
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
get()2
QT
for_while_comppared1.htm
Select_Case1.htm
Operators : I
about_operators.htm
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
Operators II:
get()1
overloading:
ternary operation:
C++preprocessor_2.htm
& and Dot Operator in struct
teststructExtBlock2.htm
teststructExtBlock3.htm
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
Operators III :
overloading:
ternary operation:
C++preprocessor_2.htm
& and Dot Operator in struct
teststructExtBlock2.htm
teststructExtBlock3.htm
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
Functions :I
get()1
Virtual Function
Virtual_Function1.htm
cstring_strln_function.htm
Revisiting Hello Wrold
Revisit_HelloWorld.htm
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
template replacing series of functions
data polymorphisms with template
myTemplateFunct2.htm
Using keyword typename (template)
myTemplateFunct3.htm
Macros : Preprocessor Revisited
Macros : Revisiting Prepropcessor
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 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 I: C/cstring and C++/string class
String C/cstring and C++/string
list of class member:
string_class.htm
Scope:
Scope_string_class.htm
cstdio_stdio_header.htm
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
sub headings
get()3
get()4
String II: C/cstring and C++/string class
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
sub headings
get()3
get()4
IO Stream I:
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
sub headings
get()3
get()4
IO Stream II:
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
sub headings
get()3
get()4
IO Stream III:
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 ;
myios_showbase1.htm
myios_skipws1.htm
flush
myios_flush1.htm
File System :
File_system_scope.htm
sub headings
get()3
get()4
Arrays I:
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
Arrays II:
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 III:
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
Arrays IV:
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
get()1
get()2
sub headings
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
Array Nested and Struct Intro:
Nested_Arrays1.htm
Nested_Arrays2.htm
Nested_Arrays3.htm
get()2
sub headings
get()3
get()4
Struct:
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
Struct :II
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
sub headings
get()3
Inheritance : polymorphism-
myStructInheritance1.htm
Pointer I :
reference (& adressof ) and deference()
pointer_rules_tips.htm
myDefPtr1ClassMember1.htm
Intro and Objectives : pointer:
Pointer_1.htm
use of pointer:
pointer_2.htm
pointer arithmatic
myPointer2b.htm
Eclipse
myPointer1.htm
pointer to pointer
myPointer2.htm
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 II
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
sub headings
get()3
get()4
Pointer III:
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 variablev
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
template
sub headings
get()3
get()4
Exception:
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 I:
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
Class II:
--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
c ompare 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
Class III:
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
C++ Template I:
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
--- 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
C++ Recursion:
get()1
get()2
sub headings
get()3
get()4
windows.h:
get()1
get()2
sub headings
get()3
get()4
C++ (STL) I:
intro_STL1.htm
stl_lib_members.htm
list members :
list_members.htm
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 size() function;
myList3.htm
list empty() :
myList4.htm
list.resize(3)
myList5.htm
<
List modifiers------
assign(), =
list::operator =
myListAssign1.htm
myListAssign2.htm
C++ (STL)II:
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
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
C++ STL-Vector I:
STL-VECTOR
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
viterator,
myVectorIterator1.htm
ostream_iterator , transform
myAlgo_transform1.htm
binary_serarch
mybinary_search1.htm
copy
myalgorithm_copy1.htm
copy_backword
myalgo_copybackword1.htm
C++ STL-Vector II:
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
sub headings
get()3
get()4
C++ STL-Algorythm I:
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
sub headings
get()3
get()4
C++ STL-Algorythm II:
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
get()3
get()4
C++ STL-Algorythm III:
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
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
sub headings
get()3
get()4
C++ STL-Algorythm IV:
remove erase
myAlgo_remove_erase1.htm
remove_copy:
myAlgo_remove_copy1.htm
remove_copy_if:
myAlgo_remove_copy_if1.htm
remove_if, comapre 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
sub headings
get()3
get()4
C++ STL-Algorythm V:
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
sub headings
get()3
get()4
C++ STL Map :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
sub headings
get()3
get()4
Map Recursion : II
get()3
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
map and stack push:pop
myStackPushPop1.htm
C++ File Handler:
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
Java and C++ compared
get()3
CompareArrayList_List1b.htm
List_ArrayList1.htm
List_Queue_Compared1.htm
List_Queue_Compared2.htm
get()4
C++ math library I:
float, double, integer
myMathabs1.htm
Math acos and asin function
myMathacosasin1.htm
for loop (+) and (-)
myMathacosasin2.htm
sub headings
get()3
get()4
C++ Web Pages
get()1
QtWebKit1.htm
sub headings
get()3
QtWebBrwser1.htm
get()4
coming soon 2
get()1
get()2
sub headings
get()3
get()4
coming soon 2
get()1
get()2
sub headings
get()3
get()4
FrontierSoft Bare Bone-PostGreSQL :