Thread: Need Advice on File Handling

  1. #1
    Registered User
    Join Date
    Dec 2010
    Location
    Lucknow, India
    Posts
    72

    Need Advice on File Handling

    Hi guys. I created a PDF file named "myfile.pdf" and protected it with a Passwrd "1234". Now I want to open this PDF file using my Password by a C Program... instead of entering the password manually. I have knowledge of File Handling but have no idea how to do it. Someone please demonstrate with 2-3 lines of code that how to do it OR which function should I use..
    THANKS !!! ^_^

    OS: Windows XP 2
    Compiler: Pelles C
    There is a Real magic in enthusiasm, It spells the difference between mediocrity and accomplishments.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Probably the same answer as last time.
    Need Advice.......
    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.

  3. #3
    Registered User
    Join Date
    Dec 2010
    Location
    Lucknow, India
    Posts
    72
    Oh.. Come on man.. what's wrong in this Question ?? I simply want to Learn it.... Someone Please give me some Hint atleast..
    There is a Real magic in enthusiasm, It spells the difference between mediocrity and accomplishments.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    laserlight gave you the reason why, and gave you the only hint you need.
    So go read it again, but more carefully this time.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File Handling -Read write and edit a file
    By aprop in forum C Programming
    Replies: 3
    Last Post: 02-27-2010, 02:01 PM
  2. File Handling
    By m0ntana in forum C Programming
    Replies: 3
    Last Post: 04-26-2007, 03:13 PM
  3. File handling help
    By stevy123 in forum C Programming
    Replies: 7
    Last Post: 04-20-2007, 09:31 AM
  4. advice on file i/o
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 11-29-2001, 05:56 AM
  5. File Handling?!?
    By Twiggy in forum C Programming
    Replies: 1
    Last Post: 10-23-2001, 11:43 AM