Saltar al contenido principal
LibreTexts Español

3.7: Resumen

  • Page ID
    82370
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Aquí hay algunas cosas que debes tener en el fondo de tu mente al aprender C:

    • C es conciso. Se puede hacer mucho con un poco de código.
    • Como te permite hacer casi cualquier cosa, un novato puede meterse en problemas muy rápidamente.
    • Se trata de un lenguaje relativamente delgado, lo que significa que la mayoría de las “funciones del sistema” no forman parte del lenguaje per se, sino que provienen de bibliotecas de tiempo de enlace.
    • ¡Llamadas de función, llamadas de función y más llamadas de función!
    • El código fuente es de flujo libre, no orientado a líneas. Una “línea” de código suele terminar con un punto y coma.
    • Los atajos permiten a los expertos crear código que es casi indescifrable para los programadores normales.
    • Todas las variables deben declararse antes de su uso (no flujo libre como en Python).
    • Las variables pueden ser globales o locales en su alcance. Es decir, una variable local puede ser “conocida” en un lugar del programa y no en otro.

    This page titled 3.7: Resumen is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by James M. Fiore via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.