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 7 2433
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
no
i work with visual c++
On 2 Feb, 15:33, "ImageMagicLead er" <dai.zhi...@gma il.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
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) 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. 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 >
In article <52************ *@mid.individua l.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?
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? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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() should be called
during test.php's sleep, instead the first fgets blocks the processing
of the parent script and do_smth_else is called only once. How can I
do a non-blocking fgets()? I use php 4.3.4 on windows xp
$process = popen("c:\php\php...
|
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, two aspects which I want
to incorporate into my program eventually. That aside, my most
pressing problem right now is how to get rid of the newline in the
input when I use fgets(). Now I have looked around on the net, not so
much in this group...
|
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 standard says about fgets:
synopsis
#include <stdio.h>
char *fgets(char *s, int n, FILE *stream);
|
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 the program. Since fgets() doesn't return
the number of characters read it is pretty tough to handle
the embedded nulls once they are in the buffer.
So two questions:
1. Why did the folks who wrote fgets() have a successful
|
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 EOF/error), returns n-1 characters
plus
a appended null character.
| |
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 same procedure, but it
doesn't work . A "ReadError" appear: "not a bzip2 file". I'm using this
script:
import os
import tarfile
|
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
set of examples, after decoding the HTML FORM contents, merely
verifies the text within a field to make sure it is a valid
representation of an integer, without any junk thrown in, i.e. it
must satisfy the regular expression: ^ *?+ *$
If the...
|
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));
bzstream.bzalloc=NULL;
bzstream.bzfree=NULL;
bzstream.opaque=NULL;
|
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
database.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |