adding a number to a string

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
lemaire
Forum Newbie
Posts: 10
Joined: Thu Mar 12, 2009 3:13 pm

adding a number to a string

Post by lemaire »

Hello,
I am trying to write a simple coding algo that will add 10 to every character in a file. When i do z+10, it just output 10. How can i get the ascii value of z so that it can be added to 10.

Thanks
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: adding a number to a string

Post by califdon »

Post Reply