C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 01-25-2002, 07:06 AM   #1
confusedcoder
Guest
 
Posts: n/a
write then make R-O

after i write to a file, is it possible for my program to make it read-only???
  Reply With Quote
Old 01-25-2002, 07:53 AM   #2
It's full of stars
 
adrianxw's Avatar
 
Join Date: Aug 2001
Posts: 4,833
Yes, look up the SetFileAttributes() API function in the help.
__________________
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
adrianxw is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how could i write this program: cat < apa | wc | wc > bepa strugglingman C Programming 2 04-26-2006 04:40 PM
Win32 Common Controls in C++, how do i make and use them? C+noob Windows Programming 6 01-09-2006 11:53 AM
'functions' in make? mart_man00 C Programming 1 06-21-2003 02:16 PM
write in c PutoAmo C Programming 6 04-03-2002 07:53 PM
This should be the Cprogramming.com anthem! Brian A Brief History of Cprogramming.com 6 01-21-2002 12:01 AM


All times are GMT -6. The time now is 01:25 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22