Situee's Blog - iPhone,Mobile Technology

Situee's BLOG. This a blog about iphone / mobile development, programming and other information technology. Welcome!

Saturday, May 02, 2009

Dynamic Memory Allocation

Allocation of memory during execution is called dynamic memory allocation. C provides library functions to allocate and free memory dynamically during program execution. Dynamic memory is allocated on the heap by the system.


#include "stdlib.h"
int *ptr;
ptr = (int *)malloc(sizeof(int));


Read more »
at 5/02/2009 03:41:00 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments

Search This Blog

Total Pageviews

Labels

  • iphoneSDK (21)
  • Android (14)
  • java (5)
  • C2DM (3)
  • Eclipse (3)

Blog Archive

  • ►  2015 (1)
    • ►  February (1)
  • ►  2014 (8)
    • ►  October (2)
    • ►  September (1)
    • ►  July (4)
    • ►  January (1)
  • ►  2013 (13)
    • ►  October (1)
    • ►  September (1)
    • ►  August (4)
    • ►  May (1)
    • ►  April (3)
    • ►  March (2)
    • ►  January (1)
  • ►  2012 (7)
    • ►  December (2)
    • ►  September (2)
    • ►  August (3)
  • ►  2011 (24)
    • ►  November (5)
    • ►  September (2)
    • ►  August (2)
    • ►  July (3)
    • ►  March (7)
    • ►  February (2)
    • ►  January (3)
  • ►  2010 (4)
    • ►  December (2)
    • ►  November (2)
  • ▼  2009 (24)
    • ►  June (7)
    • ▼  May (1)
      • Dynamic Memory Allocation
    • ►  April (7)
    • ►  March (8)
    • ►  February (1)
  • ►  2005 (1)
    • ►  September (1)

Links

  • Situee in Stackoverflow
  • Situee Home Page

About Me

Situee
View my complete profile

Popular Posts

  • iOS Localize Image for Language of Applicaiton
    How to localize images for iOS? Put your images into localized folder, such as "en.lproj" , "zh.lproj" This works ...
  • Eclipse CDT Launch failed Binary not found
    (1)Build before Run You must build before run, otherwise there would be no binary to run. But you can set up auto build, so that you can...
  • Enable/Renew Team Provisioning Profile:*
    There is a Team Provisioning Profile:* in Current Provisioning Profiles in iDP portal. It's a Wildcard AppID. You don't need to cr...
  • HTTP Web Server, File Upload on iphone
    I installed "PDF Reader Lite" on my iphone. There is very amazing function that I can upload files into the app through a http web...
  • Info.plist, Failed to launch simulated application: unknown error
    I downloaded an opensource iphone project. Failed to build it. The error message is could not read data from '/xxxx/xxxx/xxxx/Info.p...
  • SVN create and switch to branch
    Mac OS X 10.8.2 svn, version 1.6.18 (r1303927) http://situee.blogspot.com/2013/05/svn-create-and-switch-to-branch.html I want to w...
  • Apple iOS UDID Replacement - UUID,vendor,advertising id
    Apple forbid all new / updated app of iphone to use UDID from May 1st, 2013. There are some replacements : CFUUID/NSUUID, Vendor ID or Adve...
Simple theme. Powered by Blogger.