This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
user:hju:portfolio:cprogproject1 [2015/03/31 20:41] – [Project: YOUR PROJECT NAME HERE] hju | user:hju:portfolio:cprogproject1 [2015/03/31 20:42] (current) – [Project: YOUR PROJECT NAME HERE] hju | ||
---|---|---|---|
Line 5: | Line 5: | ||
This project was begun on DATE and is anticipated to take X AMOUNT OF TIME. (Upon completion you can correct this with the actual length). | This project was begun on DATE and is anticipated to take X AMOUNT OF TIME. (Upon completion you can correct this with the actual length). | ||
- | I didn't even look at the project because I was super busy with other classes. So I looked up the project today and finished today. cbf0 project wasn't that long. However, I encountered new functions that is related to making files, reading files and writing files. It was fopen, fclose, fput, and fseek. I was able to change the position for fscan by using fseek function. SEEK_END allowed me to read from the end of the file. So my code opened two files( input, output ) and read input file 12byte from the end using fseek and fscan. I make sure to put into an array. Then, I used fput to put the array to the output file. It was nice project to practice handling files. Now, I think I can read and write any file. So confident. | + | |
=====Objectives===== | =====Objectives===== | ||
State the purpose of this project. What is the point of this project? What do we hope to accomplish by undertaking it? | State the purpose of this project. What is the point of this project? What do we hope to accomplish by undertaking it? |