|
From: Shane P. <ge...@my...> - 2003-04-13 01:31:00
|
I also have one other minor problem. Though I have looked through over 16 different manuals and tutorials, and have searched over 50 websites I cannot seem to find out the difference between char* foo; char *foo; char* *foo; From my own expirements (purposely generating compiler errors) it appears to me that the first two are identical. They both seem to declare foo to be a variable of type char*. The second seems to declare foo a pointer to type char*. It also appears to me that type char* is actually a char[] of dynamic length because I can get string functions to work on it - just like on char[]. I have found no confirmation of any of this though. I would appreciate any info anyone has about this. Shane Plesner _______________________________________________ No banners. No pop-ups. No kidding. Introducing My Way - http://www.myway.com |