Page 1 of 1

simple sample regarding file io

Posted: Sun Aug 21, 2005 11:30 am
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.

Posted: Sun Aug 21, 2005 3:13 pm
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