Exam 4 Study Guide

Exam 4 Study Guide - Exam 4 Study Guide * Review. you'll...

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

View Full Document Right Arrow Icon
Exam 4 Study Guide *** Review. .. you'll still need this: *** Arrays: - Parallel Arrays: Describe. .. Give example. .. - Multi-Dimensional Arrays: Describe. .. Work examples. .. C-Strings - What are "c-strings"? - Know when and how to use the functions from cstring header file -- strcpy, strcmp, strlen, strstr, strcat - Know how to convert a c-string to an integer or real number value - Know how to convert a numeric value (int, double) to a string - Know how to use a stream object's getline method -- cin.getline(), infile.getline(), etc Strings: - Know how to declare a string object - Know how to use getline with a variable of type string - Describe the differences between type string and a c-string *** New material: *** Files: - Know how to use the file stream objects Steps: - Open the file - Use the file (read from, write to, or both) - Close the file -- fstream, ifstream, ofstream - Describe the differences between ifstream, ofstream, and fstream Use fstream header file for file access
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/12/2011 for the course CS 2124 taught by Professor Causey during the Spring '11 term at ASU.

Page1 / 2

Exam 4 Study Guide - Exam 4 Study Guide * Review. you'll...

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

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