Archive for March, 2010

How to: Define Events in Classes Built in VB.NET

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 »

, , , ,

No Comments

How to: Define Delegates in VB.NET

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 »

, , , , ,

No Comments

How to: Identify Characteristics of Events in VB.NET

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 »

, , , ,

No Comments

How to: Define a Class in VB.NET

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 »

, , , , , ,

1 Comment

How to: Use Data Types to Define Variables in VB.NET

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 »

, , , ,

1 Comment

Librarie de functii si proceduri pentru lucru cu matrici (masive bidimensionale) in limbajul C si C++ – Proceduri de calcul

Tutoriale pe aceasta tema:

Acest tutoria include adunarea a doua matrice, inmultirea a doua matrice, transpunerea unei matrice, diferenta dintre doua matrice, inversa unei matrice ridicarea la putere a unei matrice etc.. Tot in aceasta clasa de proceduri sunt incluse si operatiile de adunare, scadere, inmultire si transpunere cu matrice vectorizate. De exemplu, suma a doua matrice vectorizate presupune transformarea matricelor in vectori, suma efectuandu-se acum intre doi vectori. Analog se realizeaza si scaderea, inmultirea si transpunerea matricei.

In continuare se prezinta procedurile care realizeaza operatiile specificate mai sus, precum si paralela intre modul de lucru cu o matrice alocata static si una alocata dinamic. Read the rest of this entry »

,

No Comments