View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-29-2009 , 16:04   Re: Programming for starters (Part 2, by Bugsy, added)
Reply With Quote #28

For the part about characters, you should also let them know that you don't have to use the ascii values.

Instead of this:
Code:
new szWord[5] szWord[0] = 119 //w szWord[1] = 111 //o szWord[2] = 114 //r szWord[3] = 100 //d szWord[4] = 0   //null //This is not needed since the default value of each element is 0.
You can do this:
Code:
new szWord[5] szWord[0] = 'w' //w szWord[1] = 'o' //o szWord[2] = 'r' //r szWord[3] = 'd' //d szWord[4] = 0   //null //This is not needed since the default value of each element is 0.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline