Programable Discrete Electronics

The flashcards below were created by user Anonymous on FreezingBlue Flashcards.

  1. Vairable definition
    • @ A variable is a place to store a piece of
    • information.
  2. Viariable Types
    • A variable type is a description of the kind of
    • information a variable will store.
  3. Diference between == and =
    • = is the assignment operator. b = 1 will set the variable b equal to the value
    • 1.

    • == is the equality operator. it returns true if the left side is equal
    • to the right side, and returns false if they are not equal
  4. When to use int
    Int is a fundamental type used to define numeric variables holding whole numbers.
  5. When to use "double"
    A double is a larger float type that holds both bigger and more precise numbers.
  6. When to use "float"
    Float is short for floating point and is a fundamental type used to define numbers with fractional parts.
  7. null terminator
    is a control character with the value zero.
  8. cin getlinen
    • Extracts characters from is and stores them into str until a
    • delimitation character is found.
  9. strcpy
    • Copies the C string pointed by source into the array pointed by
    • destination, including the terminating null character.
  10. strcat
    Appends a copy of the source string to the destination string.
Card Set:
Programable Discrete Electronics
2011-12-13 05:59:03

Show Answers: