Sign in
|
Join
|
Help
Lamia's stack and heap based memories...
A Judiciously implemented blog
This Blog
Home
Contact
Syndication
RSS for Posts
Atom
RSS for Comments
Search
Go
Community
Home
Blogs
Media
Forums
Groups
Google Gadget
Tag Cloud
.Net (8)
Career (26)
Design Patterns (3)
Eclipse (9)
EJB (6)
FLEX (4)
J2EE-JEE (22)
J2ME (4)
Java (55)
Javascript (7)
JSTL (3)
Microsoft Windows (10)
Netbeans (4)
Object Relational Mapping (3)
Others (3)
PHP (6)
PSP (3)
RDBMS (20)
SCJP (4)
Servlets (3)
Struts (7)
Technology (6)
Tomcat (3)
Visual Studio (3)
XML and Webservices (7)
Email Notifications
Go
Recent Posts
Create an array of char*(string in C++)
Dynamic Memory Allocation in C++
The curse of char*
Archives
February 2010 (1)
December 2009 (3)
October 2009 (1)
September 2009 (1)
August 2009 (2)
July 2009 (5)
June 2009 (1)
February 2009 (2)
January 2009 (5)
December 2008 (1)
November 2008 (2)
September 2008 (1)
July 2008 (4)
June 2008 (2)
May 2008 (1)
March 2008 (5)
February 2008 (2)
January 2008 (8)
December 2007 (7)
November 2007 (5)
October 2007 (5)
September 2007 (10)
August 2007 (11)
July 2007 (8)
June 2007 (5)
May 2007 (7)
April 2007 (4)
March 2007 (6)
February 2007 (7)
January 2007 (5)
December 2006 (4)
November 2006 (7)
October 2006 (3)
September 2006 (9)
August 2006 (7)
July 2006 (8)
June 2006 (7)
Browse by Tags
All Tags
»
C/C++
(
RSS
)
Sorry, but there are no more tags available to filter with.
03-05-2007 12:27 AM
Create an array of char*(string in C++)
Hmmm... So much for my struggle that even after having learned dynamic memory allocation it took me a couple of hours to figure this out. This may not be interesting for developers using .net or Java but atleast for students learning C/C++, it is. So...
Posted by
lamia
| with
no comments
Filed under:
C/C++
02-27-2007 3:16 AM
Dynamic Memory Allocation in C++
Ever wondered how you can create a resizable array in C/C++? I will not be discussing the C stuff here since I'm not at all that good in C. So let's try to take a look on how to make dynamic memory allocation in C++. 1 2 3 4 5 6 7 8 9 10 11 class MyClass...
Posted by
lamia
| with
no comments
Filed under:
C/C++
02-02-2007 2:33 AM
The curse of char*
Whew! Finally I was able to solve the bug I was tring to fix in my game. To explain briefly, I have an std::map<char*, BITMAP*> which is a static member of a class. Now, I have a Manager class which loads resources that somehow looked like this...
Posted by
lamia
|
4 comment(s)
Filed under:
C/C++