This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: , ) != ) If fread I sizeof 1 1 fp 1 & = I address for file to be stored ( ) = Sizeof 1 the number of bits to be read = 1 number of values to be read = Fp source location ( , , ) – Fseek fp 0 seek_set used to move around a file = Fp pointer from file = ( ) the offset number in bytes from the position = ( = , = , = )] Seek_set position that you are at SET beginning END end CUR current ( ) – Ftell fp tells you where you are at = Fp pointer from from file Able to capture where you are at for future reference ( ) – Rewind fp means go back to end beginning of file Array sizes = Double 8 bits = Float 4 bits = Int 2 bits * = 8 bits 10 values 80 bits Recursion – An anchor or base case returns a certain value for a certain parameter – And inductive or recursive case returns a function ! Example N-! = 1-! = * ( - ) N n n 1...
View Full Document
- Spring '08
- Recursion, Input/output, 4 bits, 2 bits