l08 - : CSci 1113 C/C+ for Scientists and Engineers Section...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
: CSci 1113 C/C++ for Scientists and Engineers Section 010 - evening class Arrays Prof. Eric Van Wyk and Ted Kaminski Spring 2010 c ± Van Wyk and Kaminski CSci 1113: C/C++ for Scientists and Engineers, evening class Spring 2010 Page 1 / 11
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
: Finishing up last week I Exam results and discussion I Files and I/O I Recursive functions I Arrays c ± Van Wyk and Kaminski CSci 1113: C/C++ for Scientists and Engineers, evening class Spring 2010 Page 2 / 11
Background image of page 2
: Arrays I Read Savitch Chapter 5 I Arrays are our first interesting data type. I They allow us to create and manipulate lists of values. These values can be primitive types such as int or other data structures including arrays. c ± Van Wyk and Kaminski CSci 1113: C/C++ for Scientists and Engineers, evening class Spring 2010 Page 3 / 11
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
: Indexes / Offsets I An array element is identified by its offset or index value. I Given the array containing elements 0, 1, 4, 9, 16 we can reference on by its index - which starts at 0. So 0 is in the first position - at index 0. I
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

l08 - : CSci 1113 C/C+ for Scientists and Engineers Section...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online