File Input/Output Tutorial

Posted Jun 1, 2006 at 1:30AM by QJ Staff Listed in: How-To Tags: harleyg, tutorial
Ó


C/C++To those of you who needs some help in C/C++ and wants to know how to have customizable settings and external information in their PSP applications, you might want to check this out. Brad Dwyer e-mailed us about a File Input/Output tutorial shared by harleyg at PSP-Programming.com.

Aside from simple math and variables, the fopen, fread, fseek, fclose, fgetc and malloc functions will be used in this one. This particular tutorial is the first in a series of three and covers opening, reading, printing, and terminating an entire text file - which will provide you a basic foundation in File I/O.

Check out the full tutorial here.

 
 
 

Comments [refresh]

by Yeldarb - 2006-06-01 07:10
» FYI

Just a little F.Y.I., the link in the article is to the original, general C tutorial. There's a modified one in the tutorial section here: http://www.psp-programming.com/tutorials/c/file_input_1.htm that has PSP-compatible code.



The generic one will work with minor adaptations, but when you compile it will give you a linux binary that you'll need to execute in CYGWIN or Linux rather than on your PSP.

Add comment

Security code
Refresh

Add QJ.NET
Add to My Yahoo!
Google Reader Subscribe with Bloglines
Add  to your Kinja digest Subscribe in NewsGator Online
Subscribe with Pluck RSS reader Add 'www.qj.net' to Newsburst from CNET News.com
Subscribe with SearchFox RSS del.icio.us www.qj.net
Add to Technorati Favorite! Add to My AOL
furl! it Stumble for Treehugger!