file input and output

1.input

there is the fixed form of inputing file,you just need to change the routine,and then you can inout a txt file as you want

2.output

this is a funcion.the last line is used to run the funcion.the second line is to create a new txt file and the third line is to write the content in the txt file.

Published by narutolu

I am from Shanghai ,China.My home university is Shanghai univeristy of Finanace and Economics and I am major in economics and taxation. I worked in mckinsey consulting firm, Nielson and Ipsos. My hobby is programming and travelling . I have been to more than 40 countries.

Leave a comment

Design a site like this with WordPress.com
Get started