May 2012
Intermediate to advanced
679 pages
16h 56m
English
Microsoft has provided a bitmap editor in Visual C++ package. Bit Map Editor is a general graphical utility, useful in creating very small pictures. Let us develop a simple bitmap editor ourselves.
Problem: Write a program to edit a bitmap.
Solution: Any medium size programming task needs proper specifications. Let us define on our own specifications for this program.
Draw -> Any normal key
Erase -> Space bar
End Edit -> Escape
See Program 21.20.
// bitmap.cpp// monocrome bit map editor#include<fstream.h>#define no_rows 16#define no_cols ...
Read now
Unlock full access