Finding Current directory??

A

Advocated

Just wondering, is there a way to find the current directory? well, i mean
whats the best way to go about it?

Cheers
 
A

Arthur Gold

Advocated said:
Just wondering, is there a way to find the current directory? well, i mean
whats the best way to go about it?

Alas the `best' way -- indeed *all* ways -- of doing so fall outside of
the purview of the standard C language, which knows not of directories,
current or otherwise.

Please ask in a forum dedicated to your particular platform.

HTH,
--ag
 
C

CBFalconer

Advocated said:
Just wondering, is there a way to find the current directory?
well, i mean whats the best way to go about it?

Probably by asking in a newsgroup dedicated to your operating
system etc. This is not it.
 
A

Advocated

CBFalconer said:
Probably by asking in a newsgroup dedicated to your operating
system etc. This is not it.

What about setting it up yourself? So when the program loads its in a
directory you specify; maybe as a string?
 
K

Kevin Goodsell

Advocated said:
What about setting it up yourself? So when the program loads its in a
directory you specify; maybe as a string?

There is no portable, standard way to do anything at all involving
directories. The C language does not support the concept of a directory
in any way. That's why you should ask in a group that deals with your
particular operating system.

-Kevin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top