By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,902 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,902 IT Pros & Developers. It's quick & easy.

what is the quickest way to check if I have write permissions to and existence of the file

P: n/a
I am using cpp by the way?

Thanks

Oct 30 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
puzzlecracker wrote:
I am using cpp by the way?


Why don't you just try opening it with std::ofstream ?

--

Valentin Samko - http://www.valentinsamko.com
Oct 30 '05 #2

P: n/a
TIT
puzzlecracker sade:
I am using cpp by the way?

That's an odd question, and most likely grammatically wrong.
Should I answer yes or no?
Thanks


And the real question is somewhere else I presume?
I'm assuming it's not in the subject, so where could
it be?

TIT
Oct 30 '05 #3

P: n/a
Should I answer yes or no?

I think you need to get checked....i'd appreciate if you tell me
whether it helped...

Oct 30 '05 #4

P: n/a

"puzzlecracker" <ir*********@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I am using cpp by the way?

Thanks


Your subject was:
Re: what is the quickest way to check if I have write permissions to and
existence of the file
Incidently, don't put questions in the subjects please.

That being said, it depends on your OS. Each OS would do it differently.
Hench, ask in the newsgroup for the OS your's working with.

microsoft.public.vc

if your'e on Windows. Otherwise find the newsgroup for your OS.
Oct 31 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.