|
-
Mar 7th, 2010, 10:32 AM
#1
Thread Starter
Hyperactive Member
Number Lines
I'm writing a program for my algebra students to practice integers.
Stuff like....
3-6
-4 + (-5)
3(-4)
-15 ÷ 3
etc.
I want to show an explanation and for the addition and subtraction, I want to show it on a number line. For example, if the problem is 3 - 7, the number line should show and arrow to that goes right to 3, and then left 7 units (starting from 3). Then the student can see that the answer is -4.
I could probably do this with some string manipulation, but what would be the easiest way to do it in a picture format? Maybe a bitmap.
-
Mar 7th, 2010, 11:28 AM
#2
Re: Number Lines
use the drawstring method of the graphics object.
here's an example of writing text on a picturebox:
http://www.planet-source-code.com/vb...7514&lngWId=10
Last edited by .paul.; Mar 8th, 2010 at 05:14 PM.
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|