Welcome to Mike95.com
Home
WELCOME
ABOUT MIKE95.COM
CONTACT ME


Features
FUNNY JOKES
HUMAN FACTOR


C++
Library Source Code:
CGIPARSE
JSTRING
JVECTOR
JSTACK
JHASHTABLE


COM / ASP
MIKE95 COM SVR
- ASP STACK
- ASP QUEUE
- ASP VECTOR


Tutorials:
TEMPLATES
ALGORITHMS
DESIGN PATTERNS


Sample Work
Internet Based
TASK/BUG TRACKER


Visual C++ / MFC
FLIGHT PATH (C++)
MP3 PLAY LIST


Java
JAVA TALK
BAR GRAPH
WEB CAM


Personal
CONTACT ME
RESUME
PICTURES
TRIPS
JVector
Design of the library:

After converting the Java String library into a C++ equivalent and seeing the usefulness of using a common class with both languages, I decided to do the same for a few of the collection classes Java has available.

This class is a based on the Java Vector class and as such contains all the public member functions of it's Java equivalent. Unlike Java, typecasts are not necessary since C++ allows template instantiation of types at compile time. In addition to the Java public member functions, the following were also added in order to take advantage of the operator overloading feature available in C++.

const Etype & operator[]( UINT index ) const; // for indexing item
Etype & operator[]( UINT index ); // for setting value at index

Public functionality:
The library is fairly simple in usage. You may visit the Vector class specification at JavaSoft.


(c)2017 Mike95.com / Site Disclaimer
Site Meter