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)
|