domingo, 8 de outubro de 2017




Some C++ Libraries (Algumas Bibliotecas de C++):

#include <iostream>     Input and output functions(Entrada e saída de funções)
#include <cstring>         Functions manipulate some strings(Funções que manipulam                                                   algumas strings.)
#include<cctype>          Functions that manipulate character(Funções que manipulam                                                  caracteres)
#include<cstdlib>          Functions that manipulate character(Funções que manipulam                                                  caracteres)
#include<iomanip>        Functions that manipulate character(Funções que manipulam                                                  caracteres)
#include <studio.h>      Input and output functions(entrada e saída de funções)
#include <string.h>       String related functions( Funções relacionadas a String)
#include <stdlib.h>        Memory allocation, rand and other functions(Alocação de memória,                                        rand e outras funções.)
#include<math.h>         Math functions(Funções de matemática)
#include<time.h>          Time related Functions(Funções relacionadas ao tempo)


Functions(Funções)

returnType functionName (input1Type  inputName, input2Type input2Name,...)
{
 // do something(Faça alguma coisa) 
return value; (valor de retorno)    // value must be of type returnType(o valor deve ser do                                                              tipo returnType
}


Comments(Comentários)

//  This is a C++ style one line  comment.(Este é um estilo C++ de comentário de uma linha)
/* multiple line is a traditional C++ style block comment.( Multiplas linhas é um estilo                                                                                                        tradicional de blocos de                                                                                                              comentários em C++.)

Variable types
---variáveis-------------------------------Bits--------------------------------Range----------------------
int                                                    16                               -32768 to -32767
unsigned int                                    16                                    0 to 65535
signed int                                        16                                -31768 to 32767
short int                                           16                                -31768 to 32767
unsigned short int                           16                                     0 to 65535
signed short int                               16                                -32768 to -32767
long int                                            32                        -2147483648 to 2147483647
unsigned long int                            32                        -2147483648 to 2147483647
signed long int                                32                                 0 to 4294967295 
float                                                32                               3.4E-3O8 to 3.4E- 8
double                                            64                             1.7E-3O8 to 1.7E-3O8
long double                                    80                           3.4E-4932 to 3.4E-4932
char                                                 8                                      -128 to 127
unsigned char                                 8                                        0 to 255
signed char                                     8                                     -128 to 127



P.S: In this post, the information revealed severely accompanies my study frequency. Libraries and other information are based on data I have been given so far. I'm doing baby steps, but always ahead. Forward buddies!



Nenhum comentário:

Postar um comentário