Register
Members List
Social Groups
Search
Today's Posts
Mark Forums Read
Member Login
Remember Me?
Sign Up!
|
Forgot Password
Computer Forums
>
Programmers Lounge
>
Programming Discussions
» Dynamic memory allocations
LinkBack
Thread Tools
Display Modes
04-28-2005, 11:02 AM
#
1
(
permalink
)
Mohan Giri
True Techie
Join Date: Dec 2004
Posts: 145
Dynamic memory allocations
Can we allocate memory dynamically using malloc and calloc functions for multi dimensional arrays?
06-13-2005, 01:18 AM
#
2
(
permalink
)
warrior1981
Newb Techie
Join Date: Jun 2005
Posts: 18
i think so....
we can probbly check out for the sizeof() and then verify it to malloc and calloc statements.
06-17-2005, 12:34 PM
#
3
(
permalink
)
param
Newb Techie
Join Date: Jun 2005
Posts: 2
Yes, we can dynamically allocate memory for multi-dimensional array using malloc and calloc.
::
aram:::
06-17-2005, 02:10 PM
#
4
(
permalink
)
Chankama
Monster Techie
Join Date: Jan 2005
Location: Canada
Posts: 1,522
of course
.. Just give it the size of the mem block u need..
__________________
C++ compiler
,
Wikipedia - online encyclopedia
,
Free online textbooks
,
Yahoo! Desktop
,
Avast! anti-virus
,
Best freeware
TF links:
Important websites
,
Freeware list
«
winsock2.h and platform SDK
|
What s the basic computer lang....
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Rules
Contact Us
-
Computer Technology Forums
-
Archive
-
Top
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Furl this Thread!