![]() |
|
#1
|
|||
|
|||
How to allocate memory for a double pointerI have the following:
BoundedQueue<Item> * * Body; How do I allocate memory for Body? Body = new BoundedQueue<Item>* does not work |
|||
|
#2
|
|||
|
|||
Re: How to allocate memory for a double pointerQuote:
The following compiles as expected with GCC 3.3.5: CPP / C++ / C Code:
|
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Powell Method | EngineerFORhire | C Programming Language | 5 | 01-Oct-2005 01:34 |
| [Tutorial] Pointers in C (Part II) | Stack Overflow | C Programming Language | 0 | 27-Apr-2005 18:36 |
| [Tutorial] Pointers in C (Part I) | Stack Overflow | C Programming Language | 1 | 08-Apr-2005 19:35 |
| Double output | leanieleanz | C++ Forum | 1 | 11-Mar-2005 21:19 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The