473,394 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

fgets bzip2

i need to read a row on a bzip2 file like the fgets function does on a
text file

can you help me to find this function

thank

Feb 2 '07 #1
7 2417
On Feb 2, 10:21 pm, giuseppe.canne...@gmail.com wrote:
i need to read a row on a bzip2 file like the fgets function does on a
text file

can you help me to find this function

thank
Will you work on gcc? The linux should have some corresponding
function library!
Cool images sent on Valentine's Day,http://winend.com

Feb 2 '07 #2
no
i work with visual c++

On 2 Feb, 15:33, "ImageMagicLeader" <dai.zhi...@gmail.comwrote:
On Feb 2, 10:21 pm, giuseppe.canne...@gmail.com wrote:i need to read a row on a bzip2 file like the fgets function does on a
text file
can you help me to find this function
thank

Will you work on gcc? The linux should have some corresponding
function library!
Cool images sent on Valentine's Day,http://winend.com

Feb 2 '07 #3
On Feb 2, 9:21 am, giuseppe.canne...@gmail.com wrote:
i need to read a row on a bzip2 file like the fgets function does on a
text file

can you help me to find this function

thank
http://www.bzip.org/1.0.3/html/index.html

You want to download the bzip library (probably source code for you)
Feb 2 '07 #4

gi***************@gmail.com wrote:
i need to read a row on a bzip2 file like the fgets function does on a
text file

can you help me to find this function
What do you mean by "row"? fgets does not read a row, from a text
file. It attempts to read a line. If you want to read pure binary data
from the bzipped file, use fread(), otherwise, it's better to use
bzip's own source code.

Feb 2 '07 #5
gi***************@gmail.com wrote:
no
i work with visual c++
Please don't top-post. Your replies belong following or interspersed
with properly trimmed quotes. See the majority of other posts in the
newsgroup, or:
<http://www.caliburn.nl/topposting.html>
Feb 2 '07 #6
In article <52*************@mid.individual.net>,
Default User <de***********@yahoo.comwrote:
>gi***************@gmail.com wrote:
>no
i work with visual c++

Please don't top-post. Your replies belong following or interspersed
with properly trimmed quotes. See the majority of other posts in the
newsgroup, or:
<http://www.caliburn.nl/topposting.html>
Get a life! Please, please. I think it may be about time for an
intervention. Have you spoken to your clergyman about your problem?

Feb 2 '07 #7
Lew Pitcher wrote:
On Feb 2, 9:21 am, giuseppe.canne...@gmail.com wrote:
>i need to read a row on a bzip2 file like the fgets function does on a
text file

can you help me to find this function

thank

http://www.bzip.org/1.0.3/html/index.html

You want to download the bzip library (probably source code for you)
Didn't this guy ask the exact same thing about zlib last week?
Feb 2 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tanel | last post by:
Hello, I need to read a result of the first script (that takes some time to run) from the second script so that the first script doesn't block the second. Here is a short example. do_smth_else()...
5
by: Rob Somers | last post by:
Hey all I am writing a program to keep track of expenses and so on - it is not a school project, I am learning C as a hobby - At any rate, I am new to structs and reading and writing to files,...
20
by: TTroy | last post by:
Hello, I have found some peculiar behaviour in the fgets runtime library function for my compiler/OS/platform (Dev C++/XP/P4) - making a C console program (which runs in a CMD.exe shell). The...
35
by: David Mathog | last post by:
Every so often one of my fgets() based programs encounters an input file containing embedded nulls. fgets is happy to read these but the embedded nulls subsequently cause problems elsewhere in...
11
by: santosh | last post by:
Hi, A book that I'm currently using notes that the fgets() function does not return until Return is pressed or an EOF or other error is encountered. It then at most (in the absence of...
0
by: itzel | last post by:
Hello!! In using tarfile to group thousands of small files from a directory and then compress it. I already compress a group of files in my pc, but I need do it in a server and I'm testing the...
232
by: robert maas, see http://tinyurl.com/uh3t | last post by:
I'm working on examples of programming in several languages, all (except PHP) running under CGI so that I can show both the source files and the actually running of the examples online. The first...
0
by: Geky | last post by:
I'm trying to use BZip2 library but I receive always an access violation error. I use two different codes: bz_stream bzstream; ZeroMemory(&bzstream, sizeof(bzstream)); ...
6
by: Nilesh | last post by:
I have a query about Bzip2 in PHP. Let's say that i have a paragraph like: abcdbc nnotp iidhdmmc; uuidpssa -------End------- Now, i compress it using bzcompress() and store it in a mysql...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.