Archive for noiembrie, 2009

GIF animat sau animatie bazata pe GIF in Photoshop CS3 sau CS4

Formatul Graphics Interchange Format (GIF) este utilizat pentru a stoca imagini digitale de tip matriceal (pixelii din imagine sunt memorati sub forma unei matrice). Inca de cand a fost introdus in 1987, acest format este foarte utilizat in World Wide Web pentru a permite paginilor Web sa contina si sa afiseze imagini. Este un format eficient deoarece: Read the rest of this entry »

,

3 Comments

How to create an animated GIF in Photoshop CS3 or CS4

The Graphics Interchange Format (GIF) is a digital image format used to store bitmaps. Since it was introduced in 1987, it has been largely used on World Wide Web to allow websites to include images in their pages. It is an efficient format because: Read the rest of this entry »

,

1 Comment

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 must anticipate the maximum size of memory space that can be used in the application.
Read the rest of this entry »

, , , , , , , , ,

No Comments

How to: Implement Arithmetic of Pointers in C++

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 »

, , , , , , , , ,

1 Comment

How to: Apply the Arithmetic of Pointers and Access the Areas of Heap Memory in C++

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 »

, , , , , , , , , ,

No Comments

Conversia unei expresii matematice din scrierea infixata in scrierea postfixata in C++

Scrierea postfixata (forma poloneza inversa) a fost realizata de matematicianul de origine poloneza Jan Lukasiewicz. Particularitati ale acestei forme de scriere a expresiilor matematice sunt prezentate la [...].
Un algoritm de transformare a unei expresii matematice din scrierea infixata in scrierea postfixata a fost elaborat de Edsger Dijkstra (Dijkstra Shunting Algorithm).
Read the rest of this entry »

, , , ,

10 Comments

Patch pentru conectarea la SQL Server 2008 din Visual Studio 2008

Mediul de programare Visual Studio este utilizat pentru dezvoltarea de aplicatii software, utilizand tehnologii Microsoft.
Conectarea din mediul de dezvoltare Visual Studio 2008 la o baza de date creata pe un server SQL Server 2008 se poate realiza daca exista instalat un patch pentru Visual Studio 2008. Patch-ul poate fi descarcat si instalat de la adresa http://support.microsoft.com/kb/945855.
Dupa restartarea calculatorului, la deschiderea unei aplicatii in Visual Studio 2008 exista posibilitatea de realizare a unei conexiuni la o baza de date creata pe un server SQL Server 2008.
Read the rest of this entry »

, , , ,

No Comments

Structurile de date Stiva si Coada in C++

Stiva este o structura de date logica, implementarea sa din punct de vedere fizic fiind realizata prin utilizarea altor structuri de date.
Elementele componente ale structurii de tip stiva sunt de acelasi tip, ceea ce inseamna ca stiva este o structura de date omogena.
Exista doua operatii de baza cu structura de tip stiva: adaugarea si extragerea unui element. Modalitatea de implementare a operatiilor este data de disciplina de acces: LIFO – Last In First Out. Toate inserarile (push) si extragerile (pop) sunt realizate la acelasi capat al structurii de implementare, denumit varful stivei.
Read the rest of this entry »

, , , ,

2 Comments

Evaluarea unei expresii matematice in scrierea postfixata in C++

Scrierea postfixata (forma poloneza inversa) [...] este o forma de reprezentare a unei expresii matematice aritmetice in care operatorii sunt scrisi, specificati dupa operanzi.
Avantaje ale scrierii postfixate fata de scrierile prefixata si infixata:

  • Evidentierea clara a ordinii de efectuare a operatiilor;
  • Parantezele pentru fortarea prioritatii de aplicare a operatorilor nu mai sunt necesare;
  • Evaluarile sunt usor de efectuat cu ajutorul calculatorului.

Read the rest of this entry »

, , , ,

1 Comment

How to: Define and Use the Pointers Variables in C++

The pointer type variables allow the accessing of memory areas with numerical content for the management of the values which represent memory addresses. The dimension of a pointer variable depends on the processor architecture.
In the C++ programming language, the definition template of a pointer variable is:
Read the rest of this entry »

, , , , ,

2 Comments