Posts Tagged Limbaj de programare
How to: Create a DLL – Dynamic Link Library in C++ as Visual Studio 2008 Project
Posted by marius.popa in C++, Data Structures on December 10th, 2009
Using DLL ensure productivity and/or financial gain in the software development process by reusing the source code written C++. Routines and/or programming components included in a DLL are referenced in the application without the need of their re-implementation in these applications.
Read the rest of this entry »
How to: Optimize the Memory Space by Heap Memory Allocation in C++
Posted by marius.popa in C++, Data Structures on November 26th, 2009
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 must anticipate the maximum size of memory space that can be used in the application.
Read the rest of this entry »
How to: Implement Arithmetic of Pointers in C++
Posted by marius.popa in C++, Data Structures on November 23rd, 2009
In C++ programming language, memory areas can be accessed indirectly through pointer type variable [...]. Also, available with a memory address, it ensures movement on memory areas from the memory address stored in the variable pointer. This is ensured by arithmetic operators and it is called arithmetic of pointers.
Read the rest of this entry »
How to: Apply the Arithmetic of Pointers and Access the Areas of Heap Memory in C++
Posted by marius.popa in C++, Data Structures on November 21st, 2009
Areas of heap memory are accessed via variables of pointer type [...]. This kind of variable manages values of memory address type.
Arithmetic of pointers [...] involves the operators use to access the areas of heap memory. Allocating of heap memory areas is done by functions and/or operators implemented in programming language.
Read the rest of this entry »
How to: Use a DLL – Dynamic Link Library in C++ as Visual Studio 2008 Project
Posted by marius.popa in C++, Data Structures on November 3rd, 2009
The usage of the programming elements included in DLL’s [...] it is made in C++ applications by respecting the rules stated below.
The usage of a DLL in the C++ programming language in the Visual Studio programming environment, it is made in the following way:
- Create a C++ project – type: Console application;
- Define the content for the source file which uses elements included in the DLL;
- Create the executable file.
How to: Implement Sparse Matrix Data Structure in C++ Using Array
Posted by marius.popa in C++, Data Structures on November 2nd, 2009
The sparse matrix represents a special type of two-dimensional array consisting of a large number of elements from out of which a very high proportion is occupied by null elements. Thus, the classical declaration of a two-dimensional array in the C++ programming language leads to unnecessary use of memory by storing null values and of the processing capacity.
Read the rest of this entry »
Implementarea structurii de date Matrice Rara in C++ utilizand masive de date
Posted by marius.popa in C++, Data Structures on October 30th, 2009
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.
Read the rest of this entry »
Utilizarea unei biblioteci DLL – Dynamic Link Library in C++ sub Visual Studio 2008
Posted by marius.popa in C++, Data Structures on October 23rd, 2009
Utilizarea elementelor de programare incluse in biblioteci DLL [...] se realizeaza in aplicatii C++ cu respectarea anumitor reguli precizate mai jos.
Pentru a utiliza o biblioteca DLL in limbajul de programare C++ sub mediul de programare Visual Studio, se procedeaza astfel:
- Crearea unui proiect C++ de tip Console application;
- Definirea continutului pentru fisierul sursa care utilizeaza elemente incluse in biblioteca DLL;
- Crearea fisierului executabil.
Crearea unei biblioteci DLL – Dynamic Link Library in C++ sub Visual Studio 2008
Posted by marius.popa in C++, Data Structures on October 20th, 2009
Utilizarea bibliotecilor DLL asigura productivitate si/sau castig financiar in procesul de dezvoltare software prin reutilizarea de cod sursa C++. Rutinele si/sau componentele de programare incluse intr-o biblioteca DLL sunt doar referite in aplicatii fara a mai fi nevoie reimplementarea lor in aceste aplicatii.
Gradul de optimizare a spatiului de memorie prin alocarea dinamica a memoriei in C++
Posted by marius.popa in C++, Data Structures on October 19th, 2009
Alocarea de memorie la momentul executiei unei aplicatii permite utilizarea unui spatiu de memorie, exprimat in numar de bytes, cu exact dimensiunea de memorie heap necesara pentru stocarea datelor definite prin intermediul variabilelor. Alocarea la momentul compilarii permite rezervarea si utilizarea unui spatiu de memorie cu dimensiune predefinita, exprimata in numar de bytes. In aceasta situatie, dezvoltatorul software trebuie sa anticipeze spatiul de memorie de dimensiune maxima care poate fi utilizat in cadrul aplicatiei.
Read the rest of this entry »

in romanian
in english