Connecting Tech Pros Worldwide Forums | Help | Site Map

Re: Use of Double Pointers

Keith Thompson
Guest
 
Posts: n/a
#1: Aug 29 '08
jameskuyper@verizon.net writes:
Quote:
stevenr...@gmail.com wrote:
Quote:
> I am pretty rusty when it comes to C. I am reading in input and
>trying to create of vector of pointers to store data based on spaces.
>I understand the idea of pointers, but I am having issues
>understanding on how to use char **. Below is the code I am running.
>In the code, I am storing input from the read command for traversing.
>How do I obtain the values from the array that is being referenced
>through the variable vPointer to? This is input from the user
>(characters).
>
This question properly belongs in comp.lang.c. I'm cross-posting this
response, and redirecting follow-ups to comp.lang.c only.
[...]

In addition to the advice James gave you, please avoid the term
"double pointer" to refer to a pointer to a pointer. A "double
pointer" would be a pointer to type double, which is a floating-point
type.

--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"

Closed Thread