1 / 7

C (Librerías)

Octavio Alberto Alvarez Giner Agustín Iván Mota González. C (Librerías). Librerías. Estructura. #include <Nombre_Libreria> Main(){ Sentencias }. stdio.h. Contiene tipos, macros y funciones para la realización de tareas de E/S. Ejemplo: Printf.- Salida de Datos Scanf.- Entrada de datos.

lilian
Download Presentation

C (Librerías)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Octavio Alberto Alvarez Giner Agustín Iván Mota González C(Librerías)

  2. Librerías

  3. Estructura • #include <Nombre_Libreria> • Main(){ • Sentencias • }

  4. stdio.h • Contiene tipos, macros y funciones para la realización de tareas de E/S. • Ejemplo: • Printf.- Salida de Datos • Scanf.- Entrada de datos

  5. Conio.h • Ejemplo: • Cprintf: Muestra texto en pantalla según el formato descrito. • Cscanf: Recoge el texto y lo procesa según el formato dado • Puth: Muestra un carácter

  6. Math.h • Contiene una macro y varias funciones matemáticas. • Ejemplo: • Cos: Calcula el coseno de x (medido en radianes). • Exp: Calcula la función exponencial de x. • Fmod: Calcula el resto de coma flotante de la división de x/y. • Sqrt: Calcula la raíz cuadrada del valor no negativo de x.

  7. Ctype.h • Contiene varias funciones para comprobación de tipos y transformación de caracteres. • Ejemplo: • tolower: cambiar mayúsculas a minúsculas int tolower (int ch); • Touper: cambiar minúsculas a mayúsculas int touper (int ch);

More Related