Input and Output of Structures