TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: WADE CARPENTER
date: 1997-07-22 06:31:00
subject: How would I...

I'm pretty much stumped right now...
I'm using Tc++ v.3 in dos, and I'm trying to read 
a directory name, like "C:\WINDOWS\SYSTEM" for example,
using gets(dirw).
When I enter a directory, it messes it all up and all my 
char strings get mixed together, like for example my
dir2 string will get the end characters of "C:\WINDOWS\SYSTEM"
and other strings just plain disappear.  This baffles me..
Now, what I tried to do was to enter double \\, like must be 
done with printf(), but that didn't help.. (You know, like
printf("C:\DOS"); prints C:DOS and printf("C:\\DOS"); gives the truth...
Well, at any rate i am completely BAFFLED!! HELP!!   
Well, thanks in advance for any replies...
Wade
... How do I set my laser printer to stun?  
---
---------------
* Origin: Alley Drive Software, Maple Ridge BC - 604-463-1776 (1:153/265)

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