I found a bug in user prompt.
For example your app waits for user to press: y or n.
If he get's big Y or N then it doesn't care.
If you are reading input from user then use this: _strlwr_s to convert the input string to lowercase.
That way it will work for both small and capital letters / chars and it will not care about if the input is in uppercase or lowercase.
You must:
Code: Select all
#include <string.h>
http://msdn.microsoft.com/en-us/library ... 80%29.aspx
http://java.functionx.com/cppbcb/Lesson19.htm
Also one recommendation:
When creating new images, your app should detect if there is already result.png in folder.
If there is, it should add one nr to new image filename each time user creates a new image.
For example: result1.png, result2.png etc.
So it doesn't rewrite the old image. It would be really good feature.
And it's very easy to implement.
And if i were you: i would pack each exe and dll in imagemagick folder with UPX.
You can decrease the archive size pretty alot with that.