TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: FRANK MASINGILL
from: HERBERT BUSHONG
date: 1997-10-09 04:07:00
subject: Error showing data

::> it is you can see that following the two character State name this 
rogram
::> will immediately continue with the characters of the zip code and then 
ls
::> put in the zip code on the next line.
::>         char state[2];
::>         char zip[10];
You didn't leave space for the trailing '\0' in the state. Try
char state[3];
#  Herbert Bushong    harchon@centuryinter.net       [TEAM OS/2]    
-  Blackbeard's BBS   Intelec: 239:600/0            
+  Fido: 1:19/19      http://www.intelec.com/software/
---
   RM 1.31 2508   Quit stealing... congress hates competition!!!
---------------
* Origin: Blackbeard's BBS - Ville Platte, LA - 318-468-3385 (1:19/19)

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