compress « Development « C File Q&A

Home
C File Q&A
1.array
2.binary
3.delete
4.Development
5.directory
6.fgets
7.fopen
8.fprintf
9.fscanf
10.fwrite
11.header
12.include
13.input
14.LINE
15.linux
16.open
17.output
18.pointer
19.read
20.size
21.string
22.struct
23.Text
24.windows
25.write
C File Q&A » Development » compress 

1. How do I uncompress a file compressed with fusecompress/lzo?    stackoverflow.com

I had mounted a fusecompress of directory compressed/ at fusecompress/ I copied a large file (several GB) to the fusecompress directory (ok, I mv'd it). The compressed file in the directory compressed/ is ...

2. Why am I getting an ferror on my source file using zlib deflate?    stackoverflow.com

EDIT

  // open output file for writing
  if ( ( outfilefd = fopen( file_name, "w+t" ) ) == NULL )
    {
     ...

3. doing math on files    stackoverflow.com

I am writing a program in C for file compression. The method i am trying to use involves doing math on the file as if it were one long number. Can ...

4. How do I extract all the data from a bzip2 archive with C?    stackoverflow.com

I have a concatenated file made up of some number of bzip2 archives. I also know the sizes of the individual bzip2 chunks in that file. I would like to decompress ...

5. How to get LZO to work with a file stream?    stackoverflow.com

I am trying to compress a file stream with LZO and not getting very far. Specifically, I get a segmentation fault when extracting the archive file created by my compressFileWithLzo1x function. My ...

6. File compression and codes    stackoverflow.com

I'm implementing a version of lzw. Let's say I start off with 10 bit codes and increase whenever I max out on codes. For example after 1024 codes, I'll need 11 ...

7. zlib - compress a file using C    stackoverflow.com

I'm looking for some code such that I can compress a .txt file to a .gz file and then decmopress the .gz file to stdout. I need to use zlib - trouble ...

8. Using 7lib C library to compress a file?    stackoverflow.com

I've set up a project using 7libs code and built a lib in C (the C++ project was giving me issues, the C one compiled without issue). but now I'm staring at ...

10. simple file compression program    bytes.com

Dear all, the following is the file compression program ,using elimination of spaces, which I saw in a book #include #include int main(int argc,char * argv[]) { FILE* fs,*ft; fs = fopen(argv[1],"r"); if(fs == NULL) { printf("\n Cannot open the file %s",argv[1]); exit(1); } ft = fopen(argv[2],"w"); if(fs == NULL) { printf("\n Cannot open the file %s",argv[2]); exit(1); } while( (ch=fgetc(fs)) ...

11. working with compressed files    cboard.cprogramming.com

long time; /* know C? */ Unprecedented performance: Nothing ever ran this slow before. Any sufficiently advanced bug is indistinguishable from a feature. Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31. The best way to accelerate an IBM is at 9.8 m/s/s. recursion (re - cur' - zhun) n. 1. (see recursion)

12. Compress a file using bitwise operation    forums.devshed.com

Hi,All I'm now working in project to compress a files. And I used Huffman encoding to get new code for each character in the site. but now I can't complete my project. How can I use bitwise operation to put all those new codes into the compression file. and Also how can return it to its original characters. I'm really need ...

13. usage of zlib to compress resp. decompress files    forums.devshed.com

Code: #include #include #include #define MAXMODULE 50 typedef void (WINAPI *cfunc)(); cfunc compress; cfunc compress2; cfunc uncompress; using namespace std; int zipFiles(string source, string dest) { cout << "\nCompressing '" << source << "' to '" + dest + "'...\n"; compress(); // which parameters? cout << "...done!"; } int main(int argc, char *argv[]) { HINSTANCE hLib=LoadLibrary("zlib.dll"); if(hLib==NULL) { ...

14. File Format Conversion/Compression    daniweb.com

Hey, This a bit of a lengthy problem to explain, please bear with me. My goal: Read in a data file (written in ASCII) and convert it to a smaller format (such as binary) The Problem: I start off with a proprietary format called Heim RawData. I currently don't have access to how they pack their data, but I don't think ...

15. file compression prgogram    daniweb.com

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.