TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ANTHONY TIBBS
from: CRAIG A MCKAY
date: 1997-04-26 10:56:00
subject: Random access files

Y'ello Anthony!
23 Apr 97, Kurt Kuzba had to endure Anthony Tibbs's ramblings (shown below).
 KK>> char* FromName[36];
 AT> "char *FromName [36];" ?  This won't/shouldn't even compile
 AT> correctly.
 AT> However, the the method you specified is saying this:  I want a pointer
 AT>  to a pointer to a 36 byte char.
No, it says "I want 36 pointers, of type pointer to char", It certainly would
compile, and I have used sort of thing a million times: after all that is the
structure of an argv.
But, as you say, it is not right for what this chap wants to do.
 AT> I know it is possible to have a pointer to a
 AT> pointer, but not in this case.)
Yeah, it doesn't make a whole lot of sense in this instance, all he needs is:
        char FromName[36] ;
           (Everyone seems very touchy in here so I thought
            I'd jump on my high horse too.  :)  Sorry...)
                            Fido = 2:259/33
  --Craigzilla++        Internet = McMoose@sol.co.uk
                             WWW = http://www.taynet.co.uk/users/mcmoose/
--- GEcho 1.00
---------------
* Origin: The Kilted Bun, Letham Angus -- hame o' the McMoose (2:259/33)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.