Tag: programming

shape
shape
shape
shape
shape
shape
shape
shape
Standard

Dynamic Allocation – C/C++ Language

There are three ways to reserve memory space for the storage of information: Use of global variables – the placeholder exists as long as the program is running. Use of local variables – the placeholder only exists while the function that declared the variable is being executed. Reserve a memory space dynamically: request the system,

Standard

Pointers – C/C++ Language

Pointer is a C language feature that consists of: Pointing to or accessing memory addresses. Access variables that are not accessible in a function. Return one or more values in a function. Among others… How to declare a pointer: Tipo *Variável; Example: #include void main() { int *p, q; q = 1; p = &q;

Standard

Conditional If and Else in C

In C, a true expression is an expression that equals or returns any value other than 0 and a false expression equals or returns 0. The general form of the If and Else sentence is: if(condição) // Se a condição for verdadeira expressão; // Execute isso. else // Caso o contrário expressão; // Execute isso.

Standard

Valid CPF generator in C/C++ with Source

Simple CPF generator in C/C++. created by me with source code and download below: Download: CPF Generator Source code: #include ; #include ; #include ; using namespace std; int main() { int vet[11], n, vet_v1[] = {10, 9, 8, 7, 6, 5, 4, 3, 2}, vet_v2[] = {11, 10, 9, 8, 7, 6, 5, 4,

Latest news

Latest news directly from our blog.