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 

Dynamic memory allocation

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



Joined: 28 Jun 2005
Posts: 4

PostPosted: Fri Jul 08, 2005 12:53 am    Post subject: Dynamic memory allocation Reply with quote

Hi, I'm still pretty new to PSP programming, so I was wondering if someone could talk to me about performing dynamic memory allocation? Do we just use malloc? Are there size limitations?

Thanks a bunch.
Back to top
View user's profile Send private message
wulf



Joined: 13 Apr 2005
Posts: 81

PostPosted: Fri Jul 08, 2005 5:55 am    Post subject: Reply with quote

yeah, you need to use malloc() (and free(), when you are done). I use it in the text editor I am making.. However, Malloc & free aren't specifically psp related, so you would probably be better off searching google for "malloc tutorial" or something... that would give you the best picture on how to use it properly.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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