TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: Pete Lyall 76703,4230 (X)
from: Jim Peasley 72726,1153
date: 1990-12-02 20:10:40
subject: #8540-#`C` problem

#: 8553 S3/Languages
    02-Dec-90  20:10:40
Sb: #8540-#'C' problem
Fm: Jim Peasley 72726,1153
To: Pete Lyall 76703,4230 (X)

Pete;

  Yep, commenting error on the 6/7 bytes - stepping thru the program, I can
look at the variable (or pointer + offset) and see the value at any time. Just
got thru with 2 weeks of classroom 'C' and I guess all of it hasn't sunk in
yet.  That's what I'm trying to do now, practice until I get all the 'not quite
clear' points so that I understand them.

  The name of the array is what's being passed to the function, and I'm
declaring a local pointer to the char array.

  Have any ideas on why strncpy doesn't seem to be doing it's thing?

 ...Jim




There is 1 Reply.

SOURCE: compuserve via textfiles.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™.