C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

what is the quickest way to check if I have write permission

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
puzzlecracker
Guest





PostPosted: Sun Oct 30, 2005 3:53 pm    Post subject: what is the quickest way to check if I have write permission Reply with quote



I am using cpp by the way?

Thanks

Back to top
Valentin Samko
Guest





PostPosted: Sun Oct 30, 2005 4:25 pm    Post subject: Re: what is the quickest way to check if I have write permis Reply with quote



puzzlecracker wrote:
Quote:
I am using cpp by the way?

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

--

Valentin Samko - http://www.valentinsamko.com

Back to top
TIT
Guest





PostPosted: Sun Oct 30, 2005 5:57 pm    Post subject: Re: what is the quickest way to check if I have write permis Reply with quote



puzzlecracker sade:
Quote:
I am using cpp by the way?


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

Quote:
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

Back to top
puzzlecracker
Guest





PostPosted: Sun Oct 30, 2005 7:16 pm    Post subject: Re: what is the quickest way to check if I have write permis Reply with quote


Quote:
Should I answer yes or no?


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


Back to top
Jim Langston
Guest





PostPosted: Mon Oct 31, 2005 12:45 am    Post subject: Re: what is the quickest way to check if I have write permis Reply with quote


"puzzlecracker" <ironsel2000 (AT) gmail (DOT) com> wrote

Quote:
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.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.