Lec8 - Lecture 8 Formatted output Linear interpolation...

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

View Full Document Right Arrow Icon
Lecture 8 Formatted output and Linear interpolation 1 Lecture 8 Formatted output Linear interpolation
Background image of page 1

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

View Full DocumentRight Arrow Icon
Lecture 8 Formatted output and Linear interpolation 2 Formatted output Making tables with the same number of digits on each row in a given column and the right number of spaces between the columns. ( b means a blank space) 1 bbbbb 7.45 bbbbbbb 1.912e-5 2 bbbbb 8.23 bbbbbbb 6.543e-6 3 bbbb 12.67 bbbbbbb 9.651e-9
Background image of page 2
Lecture 8 Formatted output and Linear interpolation 3 Unformatted output
Background image of page 3

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

View Full DocumentRight Arrow Icon
Lecture 8 Formatted output and Linear interpolation 4 Formatted output Need iomanip.h
Background image of page 4
5 One of the print segments. Sets the kind of display e.g. fixed. Sets the number of digits to the right of the decimal to 0. Sets the number of spaces the variable will use to 6. Right justifies all output. Allows resetting the display type. Sets the display to scientific. Sets the number of digits to the right of the decimal to 2.
Background image of page 5

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

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

This note was uploaded on 02/26/2008 for the course ENGR 1 taught by Professor X during the Spring '07 term at Lehigh University .

Page1 / 12

Lec8 - Lecture 8 Formatted output Linear interpolation...

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

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