top of page

INTRODUCCION Y COMANDOS BASICOS

DEL LENGUAJE C++

 

Se recomienda antes ver el video "Introduccion y Comandos Básicos" en la seccion de videos

LIBRERIA

 

Es una colección de clases y funciones , escritas en el núcleo del lenguaje. La biblioteca estándar proporciona varios contenedores genéricos, funciones para utilizar y manipular esos contenedores, funciones objeto, cadenas y flujos genéricos

LIBRERIAS PRINCIPALES

 

<stdio.h> LIBRERIA ESTANDAR NECESARIA

* FILE *fopen(const char *filename, const char *mode)

* FILE *freopen(const char *filename, const char *mode, FILE *stream)

* int fflush(FILE *stream) * int fclose(FILE *stream)

* int remove(const char *filename)

* int rename(const char *oldname, const char *newname)

* FILE *tmpfile(void) * char *tmpnam(char s[L_tmpnam])

* int setvbuf(FILE *stream, char *buf, int mode, size_t size)

* void setbuf(FILE *stream, char *buf)

* int fprint(FILE *stream, const char *format, …)

* int sprintf(char *s, const char *format, …)

* vprintf(const char *format, va_list arg)

* vfprintf(FILE *stream, const char *format, va_list arg)

* vsprintf(char *s, const char *format, va_list arg)

* int fscanf(FILE *stream, const char *format, …)

* int scanf(const char *format, …)

* int sscanf(char *s, const char *format, …)

* int fgetc(FILE *stream)

* char *fgets(char *s, int n, FILE *stream)

* int fputc(int c, FILE *stream)

* int fputs(const char *s, FILE *stream)

* int getc(FILE *stream) * int getchar(void)

* char *gets(char *s)

 

String Functions: <string.h>

* char *strcpy(s , ct)

* char *strncpy(s , ct , n)

* char *strcat(s , ct)

* char *strncat(s , ct , n)

* int strcmp(cs , ct)* int strncmp(cs , ct ,n)

* char *strchr(cs , c)

* char *strrchr(cs , c)

* size_t strspn(cs , ct)

* size_t strcspn(cs , ct)

* char *strstr(cs , ct)

* size_t strlen(cs)

* char *strerror(n)

* char

*strtok(s , ct)

 

Mathematical Functions: <math.h>  LIBRERIA DE OPERACIONES MATEMATICAS

* sin(x)

* cos(x)

* tan(x)

* asin(x)

* acos(x)

* atan(x)

* atan2(x)

* sinh(x)

* cosh(x)

* tanh(x)

* exp(x)

* log(x)

* log10(x)

* pow(x,y)

* sqrt(x)

* ceil(x)

* floor(x)

* fabs(x)Utility Functions: <stdlib.h>

* double atof(const char *s)

* int atoi(const char *s * long atol(const char *s)

* double strrod(const char *s, char **endp)

* long strtol(const char *s, char **endp, int base)

* unsigned long strtoul(const char *s, char **endp, int base)

* int rand(void) * void srand(unsigned int seed)

* void *calloc(size_t nobj, size_t size)

* void *malloc(size_t size)

* void *realloc(void *p, size_t size)

* void free(void *p)

* void abort(void)

2010 - present

2010 - present

SENTENCIAS DE ESCAPE

 

 

TIPOS DE DATO BASICOS

 

 

INTRODUCCION

 

Esta pagina busca ayudar a que las personas que desean aprender a programar en lenguaje C o C++ puedan encontrar resolucion a las dudas que surgan conforme la necesidad.

Se busca ayudar tanto a alumnos de una carrera informatica, como a personas que busquen aprender a desarrollar habilidades de programacion. Para comenzar iremos definiendo conceptos fundamentales de la programacion en C.

bottom of page