4-bit Paint

This is a discussion on 4-bit Paint within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Check this out , i made a console version of MS Paint . It's not as good ofcourse. In fact ...

  1. #1
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472

    4-bit Paint

    Check this out , i made a console version of MS Paint . It's not as good ofcourse. In fact , it uses 4-bit colors only , dots look bulky (represented by cells) and its only capable of clearing the screen , drawing and erasing.

    You can download it from here :
    http://www.mashhoor.ws/downloads/mpaint.zip
    (ZIP file contains source code and EXE)

    For more info visit :
    http://www.mashhoor.ws/pf.html


    It's useless but kinda fun to mess with.

    If you wanna learn Win32 console programming , i suggest reading Adrian's tutorial. I made this program once i finished reading it , and it was pretty simple. (thanks Adrian )



    Thanks for your time,
    Mashhoor
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,266
    For the 16th colour, you need to specify BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE in SetConsoleTextAttribute. It should give you a light grey.

  3. #3
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472
    well ... light gray doesn't seem so necessary
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 11-10-2005, 10:53 AM
  2. porting application from 32 bit to 64 bit error
    By gandalf_bar in forum Linux Programming
    Replies: 1
    Last Post: 09-14-2005, 10:20 AM
  3. Bit processing in C
    By eliomancini in forum C Programming
    Replies: 8
    Last Post: 06-07-2005, 11:54 AM
  4. Bit Manipulation Questions
    By CPPNewbie in forum C++ Programming
    Replies: 7
    Last Post: 08-12-2003, 03:17 PM
  5. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-26-2001, 12:45 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21