How to: Implement Interfaces in VB.NET

Implementing an interface in VB.NET is done by specification Implements. Interfaces can be implemented by classes […] and structures […]. A class or structure can implement one or more interfaces, separated by the operator , in VB.NET. List of interfaces implemented by class/structure is given by their associated names at defining time […]. In below […]

Read More →
How to: Define Interfaces in VB.NET

The interface is a set of definitions of properties, methods and events. Unlike classes […], interfaces do not contain the implementation. Interfaces are implemented […] by classes, but are defined as separate entities. A class that implement an interface must implement all elements defined in that interface. Defining a VB.NET interface is achieved using the […]

Read More →
How to: Evaluate a Mathematical Expression in Postfix Writing in C++

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. Algorithm for evaluation of an expression […]

Read More →
How to: Optimize the Memory Space by Heap Memory Allocation in C++

Memory allocation at the applications run-time enables the use of a storage space, expressed in number of bytes, having the size of heap memory required for data storing defined by the variables. Compile-time allocation allows the reservation and use of storage space with predefined size expressed in number of bytes. In this situation, software developers […]

Read More →
Implementarea structurii de date Matrice Rara in C++ utilizand lista simplu inlantuita

Structurile de stocare a matricelor rare sunt prezentate la […].Lista simpla este o structura de date liniara, formata din elemente denumite noduri. Un nod este compus din doua categorii de campuri: Campul cu informatia necesara prelucrarii; Campul cu informatia de legatura cu nodul succesor in cadrul structurii de tip lista simpla; se defineste sub forma […]

Read More →
Implementarea structurii de date Matrice Rara in C++ utilizand masive de date

Matricea rara reprezinta in tip special de masiv dimensional format dintr-un numar foarte mare de elemente din care o pondere foarte mare o ocupa elementele nule. Astfel, declararea clasica a unui masiv bidimensional in limbajul C++ conduce la utilizarea inutila a memoriei prin stocarea valorilor nule si a capacitatii de procesare. Declararea unei structuri de […]

Read More →
Implementarea aritmeticii de pointeri in C++

In limbajul de programare C++, zonele de memorie pot fi accesate indirect prin variabile de tip pointer […]. De asemenea, avand la dispozitie o adresa de memorie, se asigura deplasarea pe zona de memorie pornind de la adresa stocata in variabila pointer. Acest lucru se asigura prin operatori aritmetici si poarta denumirea de aritmetica de […]

Read More →