C++ programming      

C++
by Ariel Medina

I am pleasured by this page, because It will treat of something I love: Programming.

It is necessary to clear that this page thinks the reader has a knowledge about language we talk, thus, its goal is not teach the principles of this language, but a major knowledge of its features and applications.

As every human one, I have my mistakes, so, I ask you report me any error in my words and code. By this mean, you let me improve and do better our knowledge.

New material: Online Evaluator of Matrices expressions / Operations over matrices / Online Matrix calculator
edhex: Command line hexadecimal editor , msnpopup.exe: Program to show notifications with MSN Messenger style, Examples 1, 2, 3 - Usage: msnpopup.exe "title text" "message or notification" [ window_handle [seconds_to_show] ] - window_handle is the value of the window handle that will be activated if the user clics on the notification, a zero value will not activate any window; seconds_to_show is the timeout of the msnpopup window, the default value is 7 seconds.

Join to C++ Forum
Visit the new forums of Campeche
Articles (the most in Spanish)
Static variables initialization order problem (fiasco)

Reinventing the wheel

Web page good design hints

Information backups

Virus and spyware

Do You want to know what is your IP? / What is my IP?

Have you dynamic IP?

The responsibility and irresponsibility of the communication media (radio, TV, newspapers, etc.)

For the entrepreneurs, managers and the other ones implicated

How to see the HTML page source code with Internet Explorer

can't connect to MySQL server on 'IP' (10060 o 10061)

CGI with C++


Poetry

Phrases

About DIU

Dream paralysis

Death punishment, Incorrect?

Why do you belittle women?

The following table shows some libraries that I have built in C++, other languages code and other documents. The most of the source code is written in English, I wanted to avoid the accents and It be understood by persons other countries from.

C++
  • Example programa of a library . Basic management of a library: Registering and queries
  • Class bcstring . BSTR-C-C++ hibrid string, takes advantage of the features of those three types of strings and offers it in a sole class
  • File amvutils1 . Templates to compare C-style strings and objects pointers
  • Clase application . Base for applications who are called in main()
  • Clase shell . Base for applications who are called in main() and works as command interpreter
  • Program chessServer . It allow two persons to play chess
  • Program magicSquare . Source code of the last program
  • Program sorting . Sorting algorithm quicksort source code
  • Program encoder . Encoding algorithm XOR source code
  • Program maps . Using of maps example
  • Program book . Creates a book from a text file and allows to explore it section by section
  • File cpp.txt . It is used by the book program
  • Class book . Class to create a book from a text file and explore it section by section
  • algorithm . Useful algorithms for STL containers
  • Generic class allocator . Like STL allocator class
  • File amvdefs . Aliases for types of std namespace
  • Generic class binaryTree . Binary tree
  • Class bitarrray . Array of bits (useful to boolean values)
  • Generic class complex . It allow us to use complex numbers in binomic or polar format
  • converters . File converters:
    • removeComments(...). Remove comments of CPP file
    • cpp2html(...). Convert CPP file to HTML format, with the reserved words in blue color, the comments in green color, the character strings in gray color and the remaining code in black color (as the C++ code pages I show here)
    • html2html(...). Convert the source code of an HTML file to a format to be showed as text inside other HTML file
  • Generic class deque . Like STL deque class
  • Class exception . Base class for exception handling
  • Generic class expression . Evaluating and mathematical expression simplifying class (aside numeric constants, it allow to use variables y functions)
  • Class floatBCD . Type to handle Floating point BCD numbers
  • Generic class function . Class to used functions by expression class
  • Classes and functions for iterators and inserters . Like STL classes
  • mathAMV . Mathematical functions
  • Generic class matrix . Type to handle matrices
  • memoryAMV . Memory handling functions
  • Generic classes pointer and ipointer . Types to handle pointers in containers
  • Generic class queue . Like STL queue class
  • Class REEvaluator . Regular expressions evaluator by mean Non deterministic Finite Automatons (NFAs)
  • Generic class stack . Like STL stack class
  • Class streambufw . It allow to access the streambuf buffer
  • Class string . Type to handle character strings
  • Class uintBCD . Type to handle unsigned integer BCD numbers
  • Generic class valarray . Like STL valarray class
  • Generic class variable . Class for used variables by expression class
  • Generic class vector . Like STL vector class
  • Generic class vectorx . Derived of vector class (It adds resizing by front of the sequence)
Turbo C++
    I suggest Win98 and earlier (cause it modify the interrupt vector and write in ports)
  • Program piano . Last program source code (for Win98 and earlier; compile with Turbo C++)
  • Code of Roulette . It allow to play roulette game (for Win98 and earlier; compile with Turbo C++)
Visual C++
  • Project of program Koch . Shows an animation with the snowflake of Koch when you press a key (uses recursion to make the figure; compile with VC++ 6.0, Release version, no debug)
  • Program mthreadex . Source code of the last program (compile with VC++ 6.0 or later)
  • Class hookctrltab . This class solves the problem with the MFC multiline CEdit control, whom if you press CTRL+TAB, Windows inserts a tab instead of change the focus to the next control
ASP
  • Document gip.asp . Source code to get IP address of a user who is connected to an HTTP server
  • Source code to save messages (like in a forum) without having to get access to a database.
  • Source code to show a list with the files of your directory from an HTTP server (supporting ASP), avoiding FTP.
  • Document counter.asp . Text mode counter source code.
DHTML (HTML+Javascript+DOM)
Template for page with hierarchical menu (as the menu of this page). Does not need a lot of code as other menus that seems like this in the internet and, is free!.
Microsoft Word documents (spanish)
Professional Thesis Documents (spanish)
  • Principio . Portada, Justificación, Prólogo, Índice, etc.
  • ...
  • ...
  • ...
  • Credo del programador y bibliografías . References of this work
  • Professional Thesis programs (ZIP format executables)
  • Mátrix . Allow to define matrices and to do operations over them

  • All of code here is free, although I would appreciate that you write my name when you use this code.

    Curriculum vitae



    Interesting links:

    Ethernet technology
    Mathematical formulas (used for expression class to recognize patterns in a mathematical expression)
    C++ reserved words

    Bjarne Stroustrup page, the creator of C++
    Superior arithmetic page, by Domingo Gomez Morín
    campechedigital.com
    Sounds of standard american English
    IT Glossary


    Free software


    GNU

    Linux

    Apache

    MySQL

    PHP
    Miktex

    Open Directory Project
    Spanish Programming


          Author: Ariel Alonzo Medina Vázquez      

    Join to C++ Forum
    Send a comment
    Read the comments
    Write to me

    Campeche, Campeche, México. - Last update: January 5th, 2006