That's not it either...
I'm looking for something with the top in the middle of the base and the two sides angling down.
Lin
Type: Posts; User: TonyLFL
That's not it either...
I'm looking for something with the top in the middle of the base and the two sides angling down.
Lin
I mean like this...
*
***
****
*****
Something that would look like this
*
***
*****
******
with two variables, base and height...
thanks, Lin
C++
I know how to draw a square or a rectangle, but what's the code to draw a triangle? Does anyone have any idea.
Lin
My project is to create shapes, and place Shape * pointers to each new Shape object into an array.
This is something that I came up with, and it doesn't work at all.
#include <iostream>
...
I should have posted the whole description of my project in the first place. I've been working on this thing for almost four hours now and I have gotten nowhere!
Develop a basic graphics package....
The project is to develop a basic graphics package. The following step is listed in my project:
Write a polymorphic screen manager that walks through the array (preferably using an integrator)...
Thank you, you have saved my sanity.
TonyLFL
This is what I have so far:
const int arraySize = 25;
int a[ arraySize ], number, i;
ifstream ins( "numbers.dat" );
while ( ins >> number )
{
for ( i = 0; i < arraySize; i++)
25 integers, both negative and positive.