Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _CRT_SECURE_NO_WARNINGS 1
- #include <iostream>
- using namespace std;
- int main() {
- char alpha[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+";
- char str[] = "g24323ewyfgwyegfy3032gf2egfeyf-23pe";
- char *tokenizer = strtok(str, alpha);
- while (tokenizer != NULL) {
- cout << tokenizer << endl;
- tokenizer = strtok(NULL, alpha);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment