TIP: Click on subject to list as thread! ANSI
echo: locsysop
to: Geoff Armstrong
from: Bob Lawrence
date: 1994-06-02 09:15:16
subject: C

BL> char source[16] strcpy(source,"3:711/934.12");

 BL> and then use

 BL> strncpy(dest,source[2],3);

 GA> &source[2],3); /* You need the ADDRESS OF source[2] */ 

  It's a string, and the address is inherent. Won't that start copying 
at 7 and do 711 - or am I wrong again? AGAIN!!! Aaarrgh! Bloody pointers! 
Aaarrrgh!

Regards,
Bob
___ Blue Wave/QWK v2.12

--- PQWK202
* Origin: Precision Nonsense, Sydney (3:711/934.12)
SEEN-BY: 711/934
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

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™.