simple sample regarding file io

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
holiday
Posts: 5
Joined: Sun Aug 21, 2005 10:17 am
Location: Minnesota, USA

simple sample regarding file io

Post by holiday »

I've got the ps2sdk toolchain installed. That was easy thank to oopo's site :)

I've got a little programming exp in c, just enough to be dangerous.

Is there some sample code or tutorial even that could show me how to access a file for read access? (the shorter the better)

Specifically how do I read a file that I know exists from either cdrom: or mc0: ? fopen always comes back with file not found, even though the file is there.
holiday
Posts: 5
Joined: Sun Aug 21, 2005 10:17 am
Location: Minnesota, USA

Post by holiday »

Ahem.

Well, everyone has to start from somewhere.

While researching other information, I came across the answer. I need to load the modules for whatever I need access to. Simple enough.

holiday42
Post Reply