davis@pacific.mps.ohio-state.edu ("John E. Davis") (03/10/91)
Hi, Recently I posted some code containing pointers to pointers to char etc.. and said that it did not run on VMS. However, I was wrong. When I first wrote the test code, I compiled, linked, and ran it on VMS. However, I left off a `*' somewhere so I received an access violation error when I ran it. I then added the `*' put the `*' at the correct place and recompiled the program. However, in my haste, I left out the link step. As a result, I kept running the original .exe file which had the error. For this I apologise. However, I do not think the whole experience has been a total waste of bandwidth. I have learned that on VMS, `return 0' is not correct. In addition, from some of the mail I have recieved as well as from some of the followups to my original message, it has become clear that many people do not understand this type of pointer usage. In retrospect I think that the code that I posted is a nice simple program that illustrates pointer usage quite clearly and if you do not understand it then you probably do not understand pointers as well as you think. I just wanted to set the record straight (particularly about VMS). -- John bitnet: davis@ohstpy internet: davis@pacific.mps.ohio-state.edu