Foundation of C ++

download Foundation of C  ++

of 17

Transcript of Foundation of C ++

  • 8/17/2019 Foundation of C ++

    1/17

    Foundation of C ++:C1 An Overview of C

    2 Expressions

    3 Statements

    4 Arrays and Null-Terminated Strins! "ointers

    # $un%tions

    & Stru%tures' (nions' Enumerations' and (ser-

    )e*ned Types+ C-Style Console ,O

    . $ile ,O

    1/ T0e "repro%essor and Comments

  • 8/17/2019 Foundation of C ++

    2/17

    Keywords in Cauto doule int stru%t

    rea else lon swit%0

    %ase enum reister typedef  

    %0ar extern return union%onst oat s0ort unsined

    %ontinue for sined void

    default oto si5eof volatile

    do if stati% w0ile

  • 8/17/2019 Foundation of C ++

    3/17

    Datatype $ive asi% )ata type 6char, int, oat,double, and void,

  • 8/17/2019 Foundation of C ++

    4/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    5/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    6/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    7/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    8/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    9/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    10/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    11/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    12/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    13/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    14/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    15/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    16/17

    Foundation of C ++:C

  • 8/17/2019 Foundation of C ++

    17/17

    Foundation of C ++:C