Thread: Custom Console Library

  1. #1
    Registered User asbo60's Avatar
    Join Date
    Jan 2006
    Posts
    38

    Custom Console Library

    I just love fooling around with C++ console applications, even though i am also attempting to learn more advance aspects of C++( openGl currently ) I still love taking a brake and making a console app. So i have decide a fun and in the end helpful thing to do would be to make my own little C++ Console Library to make making my little applications easier. So i have put together a little list of features it will have but I would like a little input from other people.

    So basically what do you think I should add, keep in mind i am still learning and it cant be to complicated. Also if you think their is something i should try to help my learning or skill type that up to.

    Here's what I've got so far
    • Center Text Function (basically type in the string and it will center the text )
    • Text Color (an easier text color changing function)
    • Setup window function( basically with one function you can set the name of the app window and the dimensions )
    • DrawBox (drawing a box of the unsigned char lines)


    Any input would appreciated
    Come give my Website a visit and try my new program, all you gamers will love it!
    www.AzA-Productions.com
    Click on applications and download Key Control!

    Also I have tons of extra space available so, if you have a project or application you want the world to see just give me an email at [email protected] and ill see what i can do for you.

    Asbo60

  2. #2
    Not stupid, just stupider yaya's Avatar
    Join Date
    May 2007
    Location
    Earthland
    Posts
    204
    Is this library going to be specific for something like console gaming?

    Anyways, you could try things like an easy cursor function, goto X and Y positions, fullscreen and random number generator. You should look up MSDN and look at some of the advanced and technical features.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    http://en.wikipedia.org/wiki/Ncurses
    If you want other ideas as to what a console library could do.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Saving a rectangle of the current screen context so you can have a popup-box will be a useful thing.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Banned
    Join Date
    Nov 2007
    Posts
    678
    i saw your site asbo, very nice clock!

    and about console library idea, i will give one advice, well, do not do it

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. standrad library
    By sarahr202 in forum C++ Programming
    Replies: 11
    Last Post: 05-18-2009, 08:50 PM
  2. Need help with audio library on DOS...
    By Marton79 in forum C Programming
    Replies: 10
    Last Post: 08-25-2006, 12:32 AM
  3. Makefile for a library
    By sirmoreno in forum Linux Programming
    Replies: 5
    Last Post: 06-04-2006, 04:52 AM
  4. Replies: 12
    Last Post: 05-06-2006, 03:34 PM
  5. Replies: 19
    Last Post: 01-12-2006, 11:04 AM