Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- /* int n;
- cout << "Enter dictionary size: ";
- cin >> n;
- char(*dictionary)[40] = new char[n][40];
- cout << "Enter dictionary words: ";
- for (int i = 0; i < n; ++i) {
- cin >> dictionary[i];
- }
- */
- const int maxsize = 80;
- char str[maxsize];
- cout << "Enter your string: ";
- cin.getline(str, sizeof(str));
- for (int i = 0; i < strlen(str); ++i) {
- cout << str[i];
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement