Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 18th, 2005, 2:30 AM   #1
qash
Newbie
 
Join Date: Aug 2005
Location: Lahore, Pakistan
Posts: 5
Rep Power: 0 qash is on a distinguished road
Send a message via MSN to qash Send a message via Yahoo to qash
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
qash is offline   Reply With Quote
Old Aug 18th, 2005, 3:39 AM   #2
rpg_code_master
Newbie
 
Join Date: Apr 2005
Location: Milton Keynes - England
Posts: 9
Rep Power: 0 rpg_code_master is on a distinguished road
Send a message via MSN to rpg_code_master
Look into either the C-Style file I/O using fopen with FILE*, or use the C++ STL file I/O using fstream.
rpg_code_master is offline   Reply With Quote
Old Aug 18th, 2005, 6:05 AM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:35 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC