TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALEX WALKER
from: JAVIER KOHEN
date: 1997-12-04 03:42:00
subject: How to find current dir?

On 26-Nov-97, Alex Walker wrote to All about How to find current dir?.
 AW> Hi All How do you test for what the current directory the user is
 AW> using? In a little program I'm writing I'd like write program
 AW> output to a file in the current dir, what ever that might be.  BTW
 AW> I'm using BC++ 3.1.  (But if the solution only works with later
 AW> compilers I'd still like to know what it is.)
AFAIK, a file with no explicit path in his name would point to the current
directory... you may add a ".\" (DOS-like) or "./" (UNIX-like) prefix if
you want to.
Javier Kohen  [The_Crusher] http://jkohen.base.org
.!. Don't repeat your parents mistakes: use a condom!
___ T-TAG 1.10 [*UnReg*]
--- Terminate 5.00/Pro 
---------------
* Origin: The King of The Ring (4:900/748.3)

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