Last active
October 21, 2016 10:03
-
-
Save yvan-sraka/a3fd9602cc3cc16a4cd67cf297bebdd3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
int main(void) { | |
std::string test = "j'adore les cookies au chocolat"; | |
for (int i = 0; i < test.size(); ++i) { | |
test[i] = test[i] - 10; | |
} | |
std::cout << test << std::endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment