cs 135.txt

Card Set Information

Author:
MagusOMY
ID:
1453
Filename:
cs 135.txt
Updated:
2009-11-25 02:41:39
Tags:
cs 135 \"computer science\" programming C++
Folders:

Description:
C++ programming study cards
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user MagusOMY on FreezingBlue Flashcards. What would you like to do?


  1. What is the first thing to look at when sorting through an array?
    the rows - sorting through rows first is called row major.
  2. How do you call a multi-dimensional array?
    myArray[ MAX_ROWS ][ MAX_COL ]

    • Remember to ask yourself:
    • &bull What do I need? - This will let you know how far to go into the array
    • &bull How do I get it? - This helps you determine how to specify the multi-dimensional array

    Otherwise all standard array rules apply
  3. What should come at the end of a case statement in a switch?
    break;

    If break isn't put in, it will continue to execute another case below it.

What would you like to do?

Home > Flashcards > Print Preview