Drawin Lines in a console app

Hello,
I am trying to recreate an old dos program for my grandpa's company, as it does not work on Windows xp or 2000. I am trying to create a console app to keep it simple for his employee(s) (2 of them). I liked how the programmer made boxes around his menu like so:
--------------------------------------------------------------------------------
|          OTC ACCOUNTING SYSTEM                                                |
--------------------------------------------------------------------------------
| (I)nvoice                                              etc....                              |
--------------------------------------------------------------------------------

Is there any way to draw lines in a command line application using c or c++ (i know both)? I just hope I don't have to go into assembly. Thank you!
LVL 1
jubber2002Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mahesh1402IT ProfessionalCommented:
Mostly they are created using ASCII characters....u can create text windows using ascii chracters....

refer this class with src code...demo exe is also there..

http://www.programmersheaven.com/zone3/cat33/6659.htm

MAHESH
mahesh1402IT ProfessionalCommented:
this will be best...download and check...

http://www.programmersheaven.com/zone3/cat1411/30605.htm

MAHESH
rstaveleyCommented:
Beware that you can not run a Win32 console app on DOS. You'll need a DOS compiler - e.g. djgpp or Turbo C++ - and build a DOS executable.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.