Hi all guys! I will explain better myself. What I would like to do is:
- input a string (char as I will ONLY type words)
- automatically scramble the letters of the input string
- if scrambling the string a word equals to a word into a file called "dictionary.txt", the program will print that word
Like: oellh
Scramble:
Olelh
Olleh
Hello
I found: "Hello"!
Hope You guys can help me out on this! Thanx to who will help me out! :)
Char is a character. As in A,B,C etc. String is a string of characters. They are two very different things. You want a string, nothing to do with a char.
Also. This looks like homework, We dont do homework here. Use the internet to your advantage and atleast get started on this. Once you've worked on it and showed us that, we'll help out