TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: WADE CARPENTER
from: RAJESH DHAWAN
date: 1997-07-23 10:51:00
subject: How would I...

Hi Wade:;
  Wade Carpenter,
  In a message on 22 July, wrote :
WC> I'm pretty much stumped right now...
WC> I'm using Tc++ v.3 in dos, and I'm trying to read 
WC> a directory name, like "C:\WINDOWS\SYSTEM" for example,
WC> using gets(dirw).
Where dirw is 'char *dirw', I guess ?
WC> When I enter a directory, it messes it all up and all my 
WC> char strings get mixed together
If you are using 'char *dirw' try 'char dirw[50]' or if you must
user 'char *' then malloc it properly before passing it to gets(dirw)
WC> Well, at any rate i am completely BAFFLED!! HELP!!   
I hope the above suggestions work for you. If they don't then please
pass on some more lines of your source and someone might be able to
help you (including me )
Bye for now
Rajesh  
...
 * ATP/Linux 1.42 * Dollars cannot buy yesterday.
--- Maximus/2 3.01
---------------
* Origin: Kalptaru Net India. http://www.kalptaru.com . (6:606/31)

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