Re: Simple question on Pointers
- From: Tommy <bad@xxxxxxxxxxxxx>
- Date: Sat, 29 Nov 2008 14:40:34 -0500
Alan Carre wrote:
"Doug Harrison [MVP]" <dsh@xxxxxxxx> wrote in message
Again, the array "a" is certainly initialized, and a[i] are not separate
variables; they are all part of "a". BTW, I thought we were talking about a char[12]. :)
I don't know what a "char[12]" is. Perhaps you're thinking we're talking about FORTRAN or something. There is no such thing as a char[12] as far as the C++ language is concerned.
How about?
char *p = new char[12];
---
.
- Follow-Ups:
- Re: Simple question on Pointers
- From: Alan Carre
- Re: Simple question on Pointers
- References:
- Simple question on Pointers
- From: Robby
- Re: Simple question on Pointers
- From: Alan Carre
- Re: Simple question on Pointers
- From: Doug Harrison [MVP]
- Re: Simple question on Pointers
- From: Alan Carre
- Simple question on Pointers
- Prev by Date: Re: Simple question on Pointers
- Next by Date: Re: Simple question on Pointers
- Previous by thread: Re: Simple question on Pointers
- Next by thread: Re: Simple question on Pointers
- Index(es):
Relevant Pages
|
Loading