View Single Post
  #2   Spotlight this post!  
Unread 08-09-2005, 06:10
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Karel++ Noob help

I don't know Karel++, but it's definitely possible with almost any other language, so it probably is.

One thing, from looking at your code: you might want to (at the very least) have it loop over the "move();"s There's probably something called along the lines of a C/C++ "for" loop where you (basically) specify where the loop starts and where it ends.

You could also go for actually determining the actual value of the string, which shouldn't be that hard, even in a language with mostly low-level string stuff. Then, use that value to determine how many times you move. (If you have a for loop then, you can just stick the variable in instead of a hard value.)
__________________