Image

Imagespryiite wrote in Imagecpp

yo guys

Heylo! Thanks again for all your help on the last problem.

Anyhow, I'm trying to write two programs: one that reverses a string. For example, "ABCDEF" would become "FEDCBA" using a function named reverse_string. The function shouldn't reverse the position of the null terminator. And the main function is used to test the reverse_string funtion.

The second is to use a loop to encrypt a string by adding 1 to the ASCII value of each character in the string. The sting "ABCDEF" would then be "BCDEFG." and "apple" would be "bqqmf."

Any help would be extremely appreciated, and also i just started C++ more or less, so please keep it simple if possible =0) and i know pointers and enum etc. if that gives you any idea. Thanks again!