acess to binary

This is a discussion on acess to binary within the C++ Programming forums, part of the General Programming Boards category; does c++ have acess to the binary code of other programs? i am looking into making a compresion program... eg: ...

  1. #1
    Unregistered! User!
    Guest

    Exclamation acess to binary

    does c++ have acess to the binary code of other programs? i am looking into making a compresion program...
    eg: 10000011111000001111 would become 15e5d

    i just need to know how i can acess the binary code if it is possible

  2. #2
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686

    fstream

    You can open files in binary mode using the standard file streams. Here is a link to a tutorial on accessing files (including a bit on binary mode): http://www.cplusplus.com/doc/tutorial/tut6-1.html
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. arrays vs lists? And containers in general!
    By clegs in forum C++ Programming
    Replies: 22
    Last Post: 12-03-2007, 02:02 PM
  2. Replies: 0
    Last Post: 11-04-2006, 11:07 AM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 04:00 PM
  4. Tutorial review
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 03-22-2004, 09:40 PM
  5. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM

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