•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 391,936 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,775 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:
Views: 1930 | Replies: 3
![]() |
•
•
Join Date: Sep 2004
Posts: 27
Reputation:
Rep Power: 4
Solved Threads: 0
Hi;
There is built in funtion in c++ for drawing a rectangle
U should include graphics.h as the header file
and call the function rectangle(int,int,int,int);
It takes four parameter as x1,y1,x2,y2 as the coordinates
For the angle U can calculate from the angle that what coordinates u have to give,,,,,,,,.
I hope that the problem is clear but if still there are some problems ask again......
Fahad
There is built in funtion in c++ for drawing a rectangle
U should include graphics.h as the header file
and call the function rectangle(int,int,int,int);
It takes four parameter as x1,y1,x2,y2 as the coordinates
For the angle U can calculate from the angle that what coordinates u have to give,,,,,,,,.
I hope that the problem is clear but if still there are some problems ask again......
Fahad
•
•
Join Date: Oct 2004
Location: Bellingham, WA
Posts: 12
Reputation:
Rep Power: 4
Solved Threads: 0
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
- I have a Problem (Java)
- Creating objects in Perl (Perl)
- creating html docs (PHP)
- Windows Explorer Problem Encounters (Viruses, Spyware and other Nasties)
- help with first and second problem (C++)
- Error message when creating PDF (OS X)
Other Threads in the C++ Forum
- Previous Thread: program to compute that the area and perimeter
- Next Thread: challenging



Linear Mode