Category: C/C++

shape
shape
shape
shape
shape
shape
shape
shape
Standard

Loop For, While and Do-While in C Language

All loops have the same function, which is to repeat an instruction a certain or undetermined number of times. The structure of the FOR loop is as follows: for(inicialização; condição; incremento) comandos; For example: #include voi main() { int x; for(x = 0; x <= 100; x++) printf(“%d”, x); } The program above displays numbers

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.