Thread: Is this possible?

  1. #1
    Registered User
    Join Date
    Jan 2007

    Question Is this possible?

    I would like to know if is possible to write a sector on a diskette. One secret sector wil be changed from 00000000........0000 to 000000000.....000000001. If this is possible, and later read this sector, please say something.

  2. #2
    Ethernal Noob
    Join Date
    Nov 2001
    from 0000000 to 0000? They are the same thing right?

    And you would need to look up bitwise operations, which deal with bits. Also the STL contains bitsets which is a data structure that allows you to represent a sequence of bits as a class and operate on them however you like.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Which OS/Compiler - many systems won't allow you such low level access.

    Which filesystem are you using?

    Why the secrecy - who are you trying to hide stuff from anyway?
    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