Looking at your code, it seems that you are using Str2 to hold the name of the opponent, so before you loop back to the beginning change the contents of Str2.
Str2 is the name of the person playing though.
Oh, then instead of "Steve", use a string variable.
What would I set it to?
Set your string variable to "Steve", or whatever you want your oppenent's name to be.
And change it when i need to?
adamac15 wrote:
And change it when i need to?

Yes, you could do that too.
What would i do originally?
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement