![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
|
Bit wise Programming in C++
Hi
I am working on disk files in C++ 1. First tell me How can I access bits in a C++ by using Borland C++3.1 programme from a disk file? 2. Is their some method to place a symbol on a file by reading its huffman code ? By Qasim Zeeshan |
|
|
|
|
|
#2 |
|
Newbie
|
Look into either the C-Style file I/O using fopen with FILE*, or use the C++ STL file I/O using fstream.
|
|
|
|
|
|
#3 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Your question contains so little information as to be almost meaningless. From the viewpoint of C/C++ a file is a sequential collection of bytes. Any other view of the content is purely artificial. Huffman coding or textual encoding or graphical information is not part of the deal. Such things may be indicated by prearranged signals such as file extensions or initial byte values or something, but it's not a given.
C++ as a core language, and bit-handling using it, has nada to do with Borland.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|