Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
rectangles
- Page 1
Re: Rectangles in functions?
Programming
Software Development
15 Years Ago
by masterofpuppets
… that you want to write. :) Especially this part [QUOTE]the
rectangles
final The
rectangles
common height,and the width of the four…] Do you need only the width and height of the
rectangles
or is there something else as well, because you say… you need 4
rectangles
but the output has only 2 :) P.S. sorry if…
Rectangles in functions?
Programming
Software Development
15 Years Ago
by jaison2
… basically i have to write a function which draws 4
rectangles
next to eachother(consisting of spcaes then hashes then spaces… then finally hashes, all of the same height). the
rectangles
final The
rectangles
common height,and the width of the four…
rectangles
should be parameters, e.g.(3, 0, 5, 4, 2) …
Re: Rectangles in functions?
Programming
Software Development
15 Years Ago
by jaison2
… Do you need only the width and height of the
rectangles
or is there something else as well, because you say… you need 4
rectangles
but the output has only 2 :) P.S. sorry if… need to create a function which can draw upto 4
rectangles
.. even i dnt relly get this question thts y i…
rectangles problems
Programming
Software Development
14 Years Ago
by Violet_82
… function to find out whether the 2
rectangles
are the same (using the area of
rectangles
) and if not which of the…
Re: rectangles problems
Programming
Software Development
14 Years Ago
by jonsca
…] so that you have a way of evaluating whether two
rectangles
are equal (hint, you have their width and height as…
Rectangles cannot disappear , Why??
Programming
Software Development
11 Years Ago
by Waledsalah
hello everybody , i need help in my project Break out game ,
Rectangles
can not disappear when the ball hitted one rectangle here is my project : http://www.mediafire.com/?3iiipzrys7w3780
Rectangles instead of letters
Programming
Web Development
10 Years Ago
by cdinarte
I'm developing a website which has support for the most talked languages in the world, but my problem is that in some machines instead of letters,
rectangles
are displayed. So far this problem has been seen mostly with chinese, japanese and korean languages. Somebody has an ideia on how to fix this issue?
Re: Collision Detection with rectangles
Programming
Software Development
15 Years Ago
by cbreeze
…(int i=0;i<numRects;i++) { animShapeO*
rectangles
[i];
rectangles
[i] = new animShapeO();
rectangles
[i]->getRect(X,Y,width,height); X… // { // directionX[i] = -5 + drand48() * 10; // directionY[i] = -5 + drand48() * 10; //
rectangles
[i]->update(directionX, directionY); // } } [/CODE] ANIMSHAPEO/H [CODE]#ifndef…
Number of "different" rectangles that can be created by 1<=n<=10000 squares..
Programming
Software Development
15 Years Ago
by crash1989
… How many "different"
rectangles
can one form using these squares? Two
rectangles
are considered different if none of them…sample output : 8 visit this link to see the 8
rectangles
... [url]https://vn.spoj.pl/content/ae00.jpg[/url] …(j%i==0) //finding the relevant divisors which can be
rectangles
{ if(j==2 || j/tmp>1) { rect++; } …
Re: Number of "different" rectangles that can be created by 1<=n<=10000 squares..
Programming
Software Development
15 Years Ago
by siddhant3s
… my formula correctly. >>r(9) - r(8) = # of
rectangles
created using exactly 9 squares, which in this case is… >>2, not 1: r(9)=# of
rectangles
created using 9 squares (or less) , which 12 The OP…
Re: Number of "different" rectangles that can be created by 1<=n<=10000 squares..
Programming
Software Development
15 Years Ago
by VernonDozier
… my formula correctly. >>r(9) - r(8) = # of
rectangles
created using exactly 9 squares, which in this case is… >>2, not 1: r(9)=# of
rectangles
created using 9 squares (or less) , which 12 The OP…
menu in a program that has some rectangles
Programming
Software Development
18 Years Ago
by endsamsara
Hi, I have some
rectangles
in the result of a program And i want to … i press F1 the screen is all gray!!! and the
rectangles
are not there any more [CODE] #include "stdio.h…; } [/CODE] this code is only the one that draws the
rectangles
the following idea is to make the menu: I PRESS…
Creating Rectangles amd ovals
Programming
Software Development
16 Years Ago
by helixkod
I am trying to create random
rectangles
and ovals. This is what i ahve so …[randomNumbers.nextInt(5)]; oval = new MyOval[randomNumbers.nextInt(5)]; //create
rectangles
for (int count = 0; count < rectangle.length; count++)… for (MyLine line: lines) into for(MyReactangle rectangle :
rectangles
) but that didnt work, im not too sure on …
Re: Number of "different" rectangles that can be created by 1<=n<=10000 squares..
Programming
Software Development
15 Years Ago
by VernonDozier
… does r stand for? If it's the number of
rectangles
, it's going to flunk right away. Plug in 1…
Re: Number of "different" rectangles that can be created by 1<=n<=10000 squares..
Programming
Software Development
15 Years Ago
by VernonDozier
… r (9) - r (8) = 1 r(9) - r(8) = # of
rectangles
created using exactly 9 squares, which in this case is…
Re: Number of "different" rectangles that can be created by 1<=n<=10000 squares..
Programming
Software Development
15 Years Ago
by VernonDozier
… 5th term, where the width is 5. Here are the
rectangles
where the area is 40 or less and one side…
Re: Number of "different" rectangles that can be created by 1<=n<=10000 squares..
Programming
Software Development
15 Years Ago
by crash1989
… of a number .. this will give you the number of
rectangles
that an be formed .. this had a bit of math…
Re: Collision Detection with rectangles
Programming
Software Development
15 Years Ago
by cbreeze
…: vector<animShapeO>
rectangles
; vector<animShapeO>
rectangles
(numRects); vector<shapeO>
rectangles
; vector<shapeO>
rectangles
(numRects); and all… error: main.cpp:23: error: no match for 'operator=' in '
rectangles
. std::vector<_Tp, _Alloc>::operator[] [with _Tp = shapeO…
Help with Rectangles and Arrays (XNA)
Programming
Software Development
14 Years Ago
by DaveTELFA
…square shape, and then I am creating
rectangles
that are the same size, position etc… for collision detection. I've also created
rectangles
for every tile space on the grid. … // X position moves 1 tile across } //updating
rectangles
for square as it is moving shapeTile[0].X =…
Help with Rectangles and Arrays (XNA)
Programming
Game Development
14 Years Ago
by DaveTELFA
…square shape, and then I am creating
rectangles
that are the same size, position etc… for collision detection. I've also created
rectangles
for every tile space on the grid. … // X position moves 1 tile across } //updating
rectangles
for square as it is moving shapeTile[0].X =…
Re: Help with Rectangles and Arrays (XNA)
Programming
Software Development
14 Years Ago
by DaveTELFA
… are invisible. What I am trying to do is create
rectangles
around every tile on the grid, and then create 4…
rectangles
around the square.Then i'll do the collision detection …between the two
rectangles
, and if the square is at the bottom of the…
Dragable rectangles
Programming
Software Development
16 Years Ago
by Dumpen1337
… corner But is there any easier way of just making
rectangles
? Here is a video of what I want: [url]http…/123329[/url] So I want to be able to draw
rectangles
from any angle if you understand?
Re: Collision Detection with rectangles
Programming
Software Development
15 Years Ago
by cbreeze
…; int numRects; int main() { cout << "how many
rectangles
do you want to create?" << endl; cin…, rect[i].heigth); } cout << "
rectangles
" << "number of
rectangles
left" << endl; for(int…
Re: Collision Detection with rectangles
Programming
Software Development
15 Years Ago
by cbreeze
…; int numRects; int main() { cout << "how many
rectangles
do you want to create?" << endl; cin…].update(directionX, directionY); cout << "
rectangles
" << "number of
rectangles
left" << endl; for(int…
How to Draw Rectangles on frame(awt,Swings)
Programming
Software Development
14 Years Ago
by RaniThomas
… to draw and add some components on frame like images,
rectangles
. I have a class which is already written by some… other person, and now i need to add 14 adjacent
rectangles
on the existing frame. [CODE] import java.awt.BorderLayout; import…
Re: Help with Rectangles and Arrays (XNA)
Programming
Software Development
14 Years Ago
by DaveTELFA
… error has gone. But now the collision detection between the
rectangles
refuses to work. Could it be because the values of…
Circles and Rectangles not showing in application
Programming
Software Development
14 Years Ago
by lynnajoe
Hi, This application does everything but show the circles and
rectangles
even though visible is set to true. [CODE]package Shapes; … []args){ String input = JOptionPane.showInputDialog ("Enter 1 to draw
rectangles
\n" + "Enter 2 to draw ovals" ); int…
Re: How to draw a grid of rectangles in swing ?
Programming
Software Development
13 Years Ago
by begueradj
… of code that shows how to create a grid of
rectangles
? I need this information for my poject Thank you[/QUOTE…. I did as follows but it draws all the small
rectangles
with the the color that corresponds to the last element…
Re: Reading text file to draw rectangles
Programming
Software Development
10 Years Ago
by JamesCherrill
… the x,y,w,h variables. The variable number of
rectangles
is a good reason to use a List rather than… [10000] and have a variable that contains the number of
rectangles
actually stored in the array. So: store all your rectangle…
Help with program that draws two rectangles and two diagonals
Programming
Software Development
20 Years Ago
by tuskyballer
… the hypen (-) character for the top and bottom of the
rectangles
. Use the pipe (|) for the sides and use the slashes…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC