lock and unlock

This is a discussion on lock and unlock within the C Programming forums, part of the General Programming Boards category; hi all how can i lock, a file(name.txt) using c.(programatically) and unlock. help me thank you in advance...

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    136

    lock and unlock

    hi all
    how can i lock, a file(name.txt) using c.(programatically)
    and unlock.

    help me
    thank you in advance

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,452
    I dunno - shall we play a game?

    It's called "Guess the OS and Compiler".
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    k, I'm game.

    DevC++ and Windows XP

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thread safe double linked list
    By ShwangShwing in forum C Programming
    Replies: 7
    Last Post: 06-02-2009, 10:55 AM
  2. Replies: 10
    Last Post: 07-17-2008, 11:21 AM
  3. gap between an unlock and a lock..
    By underthesun in forum C++ Programming
    Replies: 7
    Last Post: 06-17-2008, 12:51 AM
  4. Smart pointer class
    By Elysia in forum C++ Programming
    Replies: 63
    Last Post: 11-03-2007, 07:05 AM
  5. [shouting] Does anybody have an example of using lock and unlock? [/shouting]
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 05-16-2002, 02:50 PM

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