1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Codeing pogram

Discussion in 'C++' started by fire_, Sep 10, 2010.

  1. fire_

    fire_ New Member

    Sep 10, 2010
    Likes Received:
    Trophy Points:
    Hello. I'm writing codeing progam. It reads from file using fstream and then converts simbols to ascii, changes ascii, converts ascii to symbols and writes them to file. I tried to code .txt file with it. It worked perfect. But then i tried to convert .bmp file and then i decoded .bmp file and tried to watch pic i windows picture viewer showed me following error: "Drawing failed". I think i did something wrong. but i'm not sure... So i'm asking you is this possible to code and decode all files using fstream and converting symbols to ascii? Please answer me.
    P.s sorry for my bad english. If you didn't understood me just ask.

Share This Page