Welcome to Dream.In.Code
Become a C++ Expert!

Join 149,934 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,545 people online right now. Registration is fast and FREE... Join Now!




graphics in c++

 
Reply to this topicStart new topic

graphics in c++

mobeen
19 Jan, 2008 - 06:53 AM
Post #1

New D.I.C Head
*

Joined: 19 Jan, 2008
Posts: 3

i want to print a "button" in c++ while using graphics.h
i use draw_button but it doesn't work. Please help me


This post has been edited by mobeen: 19 Jan, 2008 - 07:12 AM
User is offlineProfile CardPM
+Quote Post

salindor
RE: Graphics In C++
19 Jan, 2008 - 08:42 AM
Post #2

D.I.C Head
Group Icon

Joined: 10 Nov, 2006
Posts: 156



Thanked: 4 times
Dream Kudos: 50
My Contributions
QUOTE(mobeen @ 19 Jan, 2008 - 07:53 AM) *

i want to print a "button" in c++ while using graphics.h
i use draw_button but it doesn't work. Please help me



Could you give a bit more information on your development environment? Unfortunetly graphics isn't standard across platforms.
User is offlineProfile CardPM
+Quote Post

mobeen
RE: Graphics In C++
20 Jan, 2008 - 04:24 AM
Post #3

New D.I.C Head
*

Joined: 19 Jan, 2008
Posts: 3

QUOTE(salindor @ 19 Jan, 2008 - 09:42 AM) *

QUOTE(mobeen @ 19 Jan, 2008 - 07:53 AM) *

i want to print a "button" in c++ while using graphics.h
i use draw_button but it doesn't work. Please help me



Could you give a bit more information on your development environment? Unfortunetly graphics isn't standard across platforms.


[size=3]I am using BORLANDC and i want to print full keyboard and that why i asked about button. please send a full code for print only one "button". Please i am grateful to u. Thanks. Can you tell me about file handling in same enviourment. Please help me. thanks
User is offlineProfile CardPM
+Quote Post

MorphiusFaydal
RE: Graphics In C++
20 Jan, 2008 - 07:22 AM
Post #4

D.I.C Lover
Group Icon

Joined: 12 May, 2005
Posts: 1,213



Thanked: 15 times
Expert In: Hardware, Networking

My Contributions
It's quite simple.
  1. Draw a rectangle.
  2. Fill it with a colour.
  3. Print some text into it.

Google-ing for "graphics.h" turns up almost 100,000 hits. The first few of which are complete listings of all the functions included in graphics.h and how to use them.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 1/8/09 03:52PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month