forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

simple sample regarding file io

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
holiday



Joined: 21 Aug 2005
Posts: 5
Location: Minnesota, USA

PostPosted: Sun Aug 21, 2005 11:30 am    Post subject: simple sample regarding file io Reply with quote

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.
Back to top
View user's profile Send private message MSN Messenger
holiday



Joined: 21 Aug 2005
Posts: 5
Location: Minnesota, USA

PostPosted: Sun Aug 21, 2005 3:13 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group