Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- #include <string.h>
- using namespace std;
- class TWord
- {
- private:
- char* str;
- public:
- void SetWordChar(char* ob)
- {
- cout<<ob;
- cout<<"5\n";
- for(int i=0; i<strlen(ob);i++)
- if(ob[i]==' ')
- {
- str[i]=ob[i];
- cout<<str[i];}
- }
- TWord(char* );
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement