Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. compression

compression

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
11 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hmaz4629
    wrote on last edited by
    #1

    hi all....! i got a project to make compressor like winrar on mfc which can compress or decompress any file.... pls let me know what i have to do for it.....! how to start it ...!~

    N D V C A 5 Replies Last reply
    0
    • H hmaz4629

      hi all....! i got a project to make compressor like winrar on mfc which can compress or decompress any file.... pls let me know what i have to do for it.....! how to start it ...!~

      N Offline
      N Offline
      Niklas L
      wrote on last edited by
      #2

      You could start off by reading about Data Compression[^], and when you have a specific question ask again here.

      home

      1 Reply Last reply
      0
      • H hmaz4629

        hi all....! i got a project to make compressor like winrar on mfc which can compress or decompress any file.... pls let me know what i have to do for it.....! how to start it ...!~

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        hmaz4629 wrote:

        i got a project...

        Personal or school?

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather

        H 1 Reply Last reply
        0
        • H hmaz4629

          hi all....! i got a project to make compressor like winrar on mfc which can compress or decompress any file.... pls let me know what i have to do for it.....! how to start it ...!~

          V Offline
          V Offline
          venkatmakam
          wrote on last edited by
          #4

          Since you have posted the question in MFC forum i think you WANT CODE IN mfc.Read about data compression and look at this opensource compressor for reference.(learn and develop don't copy it ;P ) 7 ZIP: http://sourceforge.net/projects/sevenzip/[^]

          H 1 Reply Last reply
          0
          • H hmaz4629

            hi all....! i got a project to make compressor like winrar on mfc which can compress or decompress any file.... pls let me know what i have to do for it.....! how to start it ...!~

            C Offline
            C Offline
            Chris Meech
            wrote on last edited by
            #5

            hmaz4629 wrote:

            how to start it

            I usually start projects using the File/New/Project menu command. Have you tried that yet? :)

            Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

            1 Reply Last reply
            0
            • H hmaz4629

              hi all....! i got a project to make compressor like winrar on mfc which can compress or decompress any file.... pls let me know what i have to do for it.....! how to start it ...!~

              A Offline
              A Offline
              Andrew Phillips
              wrote on last edited by
              #6

              In the past I have often had to do this - ie compress data/files. The best way is to use zlib as it is a defacto standard, open-source, unencumbered by any patents/licensing limitations and is supported in a large number of languages and environments. See http://zlib.net/[^]. You can also use my open source hex editor to play with all the options and features without writing any code. See HexEdit - Window Binary File Editor[^].

              Andrew Phillips http://www.hexedit.com andrew @ hexedit.com

              1 Reply Last reply
              0
              • D David Crow

                hmaz4629 wrote:

                i got a project...

                Personal or school?

                "One man's wage rise is another man's price increase." - Harold Wilson

                "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                "Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather

                H Offline
                H Offline
                hmaz4629
                wrote on last edited by
                #7

                school

                D 1 Reply Last reply
                0
                • V venkatmakam

                  Since you have posted the question in MFC forum i think you WANT CODE IN mfc.Read about data compression and look at this opensource compressor for reference.(learn and develop don't copy it ;P ) 7 ZIP: http://sourceforge.net/projects/sevenzip/[^]

                  H Offline
                  H Offline
                  hmaz4629
                  wrote on last edited by
                  #8

                  yeah i wanna learn not to copy thanks

                  1 Reply Last reply
                  0
                  • H hmaz4629

                    school

                    D Offline
                    D Offline
                    David Crow
                    wrote on last edited by
                    #9

                    Ok, so what preliminaries has your instructor given? Since academic coding is usually comprehensive, what other assignments have you completed that this one will build upon? Have you asked your instructor for guidance?

                    "One man's wage rise is another man's price increase." - Harold Wilson

                    "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                    "Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather

                    H 1 Reply Last reply
                    0
                    • D David Crow

                      Ok, so what preliminaries has your instructor given? Since academic coding is usually comprehensive, what other assignments have you completed that this one will build upon? Have you asked your instructor for guidance?

                      "One man's wage rise is another man's price increase." - Harold Wilson

                      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                      "Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather

                      H Offline
                      H Offline
                      hmaz4629
                      wrote on last edited by
                      #10

                      well my constructor just told me that you have to make a compression on mfc and the thing you will use is to assign lowest frequency to the highest occuring number or digit or character or anything . the code type you have to write is called huffman code it is a type of tree which has branches mean each linklist bo have link of two next boxes. i have started using MFC week ago and i have chosen this project because i need bonus to improve my grade

                      D 1 Reply Last reply
                      0
                      • H hmaz4629

                        well my constructor just told me that you have to make a compression on mfc and the thing you will use is to assign lowest frequency to the highest occuring number or digit or character or anything . the code type you have to write is called huffman code it is a type of tree which has branches mean each linklist bo have link of two next boxes. i have started using MFC week ago and i have chosen this project because i need bonus to improve my grade

                        D Offline
                        D Offline
                        David Crow
                        wrote on last edited by
                        #11

                        hmaz4629 wrote:

                        well my constructor just told me...

                        When your constructors start talking to you, it's time for a break! :-D

                        "One man's wage rise is another man's price increase." - Harold Wilson

                        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                        "Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups