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
A

aresthelord

@aresthelord
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • convert binary file to image/bmp file in vc++
    A aresthelord

    For example : let's assume that program uses a code like this: #include<iostream> void convertToASCII() { FILE *bmp; FILE *ASCII; bmp=fopen("1.bmp","r"); ASCII=fopen("1.bin","w"); char c; int x; while( (c = fgetc( bmp )) != EOF ) { for( x = 0; x < 8; x++ ) fputc( '0' + !!(c&(1<<x)), ASCII ); } } int main() { convertToASCII(); } you are looking for the function that converts back the bin file to bmp i guess.. as far as i understood your question is this.. am i right?

    C / C++ / MFC c++ help tutorial
  • Login

  • Don't have an account? Register

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