For what it's worth I haven't used the code that was posted at all. It helped me however to understand what code was required for the task. In my program I don't have to give any suggestions for...
Type: Posts; User: adohertyd
For what it's worth I haven't used the code that was posted at all. It helped me however to understand what code was required for the task. In my program I don't have to give any suggestions for...
No I'm not submitting this. I just wanted to see something like that in operation is all thanks very much
That's perfect Tater thank you very much
I don't want to use a preset encryption algorithm though, I would like to write my own basic one that stands alone. Even by adding 5 letters to the original letter then multiplying it's position by 2...
I am trying to build an encryption/decryption program for fun. I know it won't be strong, I know people would crack it in seconds but I don't care. This is just to get to grips with it. I have code...
Thanks Adak I see exactly what's happening now. And I suppose a word checker is the right word for my problem rather than a spellchecker. I got bogged down in a lot of stuff and this has cleared it...
Thanks Adak you have been a great help but I'm still none the wiser if I'm honest. Basic string searching etc is fine for me but this stuff is just over my head. I think my original slow code will...
My opinion was that I read the dictionary file into memory as I have done(I amended the float to long int). Repeat process for user file. Dictionary is already sorted alphabetically so no need to do...
Thanks Adak,
Ok I have managed to read my dictionary file into memory using a function. Here's the code:
void readfile(char *dictionary) //Reads the dictionary file into memory for optimized...
Thanks guys. Tater I found that post before but I don't really understand it. Binary searches, binary trees... I've only been programming for a few weeks so I'm quite lost with this. Would you guys...
I am writing a spellchecker program and have some issues. First thing is that I need to make better use of the memory. My code iterates through a large dictionary file repeatedly. I know its better...
Thanks for that but I'm not sure what you mean?
I placed the notfound=1 as a variable at the top and set it to equal 0 if the word was found but I need the program to output wrong words to the...
I am running an if-else statement to output an error when a word can't be found in a dictionary file. The program reads word 1 from the user text file and then loops through a dictionary file to find...