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

  • Try Ionic framework hybrid app on Mac
    Introduction Ionic framework is a cross-platform HTML5 Javascript CSS framework for hybrid app. It works with AngularJS and Cordova (Pho...
  • 三年之后重新开blog
    这几天在想用blog来记录一下自己的学习,找不到一个好的地方,就想到了google,要一个situee的帐号竟然被占了。打开一看原来是自己三年前开的,由于那时blogspot被封了就没有用了。转眼就三年了,重新开博要的就是要记录自己学习的轨迹,用一个一个的脚印来激励自己。加油啊,...
  • cocoahttpserver HTTP Server File Upload on iPhone
    Previous Post : HTTP Web Server, File Upload on iphone ----- Update 20140729 ------- The original googlecode link is removed. Please...
  • dex2jar Decompile APK file
    When I find difficult to do something on Android, I will decompile the APK file and try to learn from the messy java code. But anyway, you m...
  • 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...
  • Set Up the Sun Java Server GlassFish
      J2EE的服务器装好了很久了,没用过,又安装了Tomcat, 之前跟着教程试过了好几个servlet,但是还不知道jsp是什么工作的。今天想一用一下吧。就回归到这个问题上了。想用netbean,看了一下自带的quick start结果发现很多文件夹都对应不上,东西都找不到,q...
  • Download previous versions Titanium Studio
    Links to download previous versions Appcelerator Titanium Studio. Cannot find the version you want in the following links? Check this  h...
Simple theme. Powered by Blogger.