Archive for category Programming
How to: Transmit the Message Assigned to an Event Defined in VB.NET
Posted by marius.popa in VB.NET on March 18th, 2010
Appearance of an event and transmission of its message is accomplished by specification RaiseEvent.
Specification RaiseEvent is used only for events declared explicitly.
Use RaiseEvent specification is exemplified in the following source code sequence developed in VB.NET:
Read the rest of this entry »
How to: Define Events in Classes Built in VB.NET
Posted by marius.popa in VB.NET on March 18th, 2010
Declaring events in a class built in VB.NET is done using Event specification. Defining event involves assigning the name and arguments providing.
Because an event is included in a class, the objects defined on that class may send messages related to event – raise. Transmission is accomplished by specification RaiseEvent. Assigning the event to procedure for event handling is done by specifications Handles or AddHandler [...].
Read the rest of this entry »
How to: Define Delegates in VB.NET
Posted by marius.popa in VB.NET on March 16th, 2010
The delegate is a pointer that allows the call of a function indirectly through its memory address. The delegate is used to call methods of other objects. It is similar to the function pointer used in other programming languages. The difference is that the delegate is a reference type on System.Delegate class.
Read the rest of this entry »
How to: Identify Characteristics of Events in VB.NET
Posted by marius.popa in VB.NET on March 16th, 2010
The event is a message sent by an object and announces the application of production a fact.
Events are implemented using delegates [...].
For example, clicking a command button in a graphical interface causes the appearance of the event Click. The event is treated by a procedure.
Read the rest of this entry »
How to: Define a Class in VB.NET
Posted by marius.popa in VB.NET on March 9th, 2010
Class is an abstract representation of an entity. The object is a concrete manifestation of a class. The object is the structure that contains data and methods of handling data. An object contains data through fields and properties:
Read the rest of this entry »
How to: Use Data Types to Define Variables in VB.NET
Posted by marius.popa in VB.NET on March 9th, 2010
Data types associated to the variables establish the content of data and size of areas used to store data. In VB.NET, the following data types are available for software developer:
Read the rest of this entry »
How to: Transform a Mathematical Expression from Infix Writing to Postfix Writing in C++
Posted by marius.popa in C++, Data Structures on February 28th, 2010
Postfix writing (Reverse Polish Form) was made by Polish mathematician Jan Ćukasiewicz. Particularities of this form of writing mathematical expressions are presented in [...].
An algorithm for transforming a writing mathematical expressions from infix to postfix writing was developed by Edsger Dijkstra (Dijkstra Shunting Algorithm).
Read the rest of this entry »
How to: Evaluate a Mathematical Expression in Postfix Writing in C++
Posted by marius.popa in C++, Data Structures on February 28th, 2010
Postfix writing [...] is a form of representation of mathematical expressions in which arithmetic operatorsare written specified by operands.
Advantages of postfix writing over prefix and infix writing:
- Highlights clear policy of making operations;
- Brackets for forcing priority for implementing operators are not necessary;
- Evaluations are easily performed by computer.
C and C++ library of functions and procedures for matrix (bidimensional arrays) processing – Read and Write functions
Posted by catalin.boja in Data Structures, Programming on February 6th, 2010
To realize a real computation of matrices it must exist in the first place the matrix or the matrices. Having created an inadequate object for work with it, the results would be unexpected. Therefore we must pay the necessary attention to those functions that are creating a matrix. In this way we won’t have any future troubles.
Matrix processing contains also a sequence of in and out functions. These functions role is:
-
to create a matrix from the console when using the library matrix.h or one with all its elements equal with zero when using the class matrix constructor.
-
to list a matrix on the computer’ screen
Because the library matrix.h uses a matrix with constant dimensions, and the class matrix uses a dynamic declared matrix, defined with the help of a pointer, both versions of the creating function are described in this chapter.
Read the rest of this entry »
C and C++ library of functions and procedures for matrix (bidimensional arrays) processing – Introduction
Posted by catalin.boja in Data Structures, Programming on February 6th, 2010
Library source: C and C++ library of functions and procedures for matrix processing
Language: C / C++
Date: 04.2002
Authors: Catalin Boja si Niculescu Silviu
License: Creative Commons Attribution 3.0 License
This post main objective is to tackle a series of aspects regarding the creation of a library that contains functions necessary in resolving the problems with matrices.
First chapters are containing initialization, listing on screen and computing subprograms. The last ones present this problem objective approach.
It has been created a library specialized in matrix computation that it is used for resolving real life problems.
As this paper main approach is the matrix processing, it will be made some references that will help the user understanding this text and the programs.

in romanian
in english