Recent content by static
-
S
Drawing a Square on Black Background: Troubleshooting
thanks Mark44, it works! I just deleted equation signs from outer and inner loop and beautiful green square appeared.- static
- Post #4
- Forum: Programming and Computer Science
-
S
Drawing a Square on Black Background: Troubleshooting
My task is to draw a square on black background using ppm. What I did is this loop: for (int h=0; h<=480; h++){ for (int w=0; w<=640; w++){ if (h>100 && h<380 && w<460){ //green paint fprintf (fp, "%s", greenColor); fprintf (fp, "%s", space); } else {...- static
- Thread
- Drawing Square Troubleshooting
- Replies: 3
- Forum: Programming and Computer Science
-
S
Finding Solutions for Complex Numbers: z^2 = 1+2i
Homework Statement Determine all solutions of z^2 = 1+2i in the form z=a+bi, where a and b are real numbers.For this question numerical evaluation is not required. I just don't know how to start.:mad: any clue? thanks!- static
- Thread
- Complex Complex numbers Numbers
- Replies: 3
- Forum: Calculus and Beyond Homework Help