View Single Post
  #1 (permalink)  
Old 07-18-2008, 02:27 AM
lwinaung lwinaung is offline
Novice
Join Date: Jul 2008
Posts: 8
iTrader: (0)
lwinaung is on a distinguished road
Icon6 Confusing with * for pointer or array in C++?

I always confuse the usage of * in C++. I think sometime it uses as pointer and sometime it uses as array. I get trouble with these usage.

For Example:

void tokenize(char** name,int& num,char* buffer);

In this sentence char** name is for pointer or double array? I would like to know clearly the usage of pointer, reference(&) and array clearly.Thanks for every body who reply me.

LA

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote