Giter VIP home page Giter VIP logo

clasesdec's Introduction

Introducción al lenguaje de programación C

Contenidos

  1. main
  2. types
    2.1 char / signed char / unsigned char
    2.2 int / unsigned int
    2.3 short / signed short / unsigned short
    2.4 long / unsigned long
    2.5 float
    2.6 double / long double
    2.7 void
  3. Operators : arithmetic, increment/decrement, assigment, relational, logical, sizeof
  4. Pointers: indirection (*) , address-of (&)
  5. Arrays
    5.1 Strings:
    size_t strlen(const char *s), char *strcpy(char *dest, const char *src), int strcmp(const char *s1, const char *s2), char *strcat(char *dest, const char *src); #include <string.h>
  6. Loops: while, do while; for,
  7. Standard IO (stdin=0 , stdout=1, stderr= 2) #include <stdio.h>
  8. Return & Exit
  9. Function (declaration & definition)
  10. Basic functions
    10.1 fprintf(File stream, const charformat,...) #include <stdio.h>
    10.2 write(int fd, const void * buf, size_t count) & read(int fd, void *buf, size_t count) #include <unistd.h>
    10.3 atoi(const char *_String)
    10.4 int open(const char *path, int flags), int close(int fd)\
  11. Avanced functions
    11.1 int fork()
    11.2 exec: execlp,execv, execvp
    11.3 Pipes: pipe(int pipefd[2]), dup,dup2
    11.4 waitpid(pid_t pid, int *status, int options)
    11.5 stat(const char *const _FileName, struct stat *const _Stat)
    11.6 unsigned int alarm(unsigned int seconds
    11.7 int sigaction(int signum, const struct sigaction *act,struct sigaction *oldact);
    11.8 int kill(pid_t pid, int sig)\
  12. errno
  13. structures


    Para compilar un programa c se usa el siguiente comando:
    gcc ./NombreFichero.c -o ./NombreSalida

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.