Results 1 to 4 of 4

Thread: Damn!

  1. #1

    Thread Starter
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755

    Unhappy Damn!

    ok....i think this is cind of hard...
    i have a text like: 0,0,5,0,7,0......
    and i want to split it to
    0,0
    5,0
    7,0
    etc...
    then i want a picturebox draw lines with those coordinates...

    help me please!
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

  2. #2

    Thread Starter
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755
    the coordinates can be from 0,0 to 275,116
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

  3. #3
    Frenzied Member Devion's Avatar
    Join Date
    Sep 2000
    Location
    The Netherlands
    Posts
    1,049
    Scan file for ','

    Each 2nd , means next coordinate.
    That way you can filter them into an array and you can filter it further up if necessary.
    Last edited by Devion; Sep 3rd, 2001 at 01:25 PM.

  4. #4

    Thread Starter
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755
    thanks, ill try that
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width