C Programming help .....

Roger Oberholtzer roger
Tue Jan 25 11:24:53 PST 2005


On Tue, 2005-01-25 at 17:18, Ben Duncan wrote:
> Ohhh .... all I can say, is structures inside of structures, inside of
> arrays, outside of arrays have given me an Ice Cream Headache !!!!!

That may imply that you data needs better structuring... I was curious,
for example, why the char strings were defined as arrays and not
pointers. At least it means that when you copy, you get a real copy, not
just a copy of the pointer. Unless that is what you wanted.

Do you really want a second copy? Or just a way to refer to the menu
info?

> 
> Roger Oberholtzer wrote:
> > On Tue, 2005-01-25 at 16:43, Roger Oberholtzer wrote:
> > 
> > Sorry, but the last two parameters to memset are the other way around.
> > Put the calue to set the memory to second, and the amount to set last.
> > 
> > 
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Nybrogatan 66 nb           ?    Phone: Int + 46 8   314223 ?
? 114 41 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   314223 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list