Sunday, May 16, 2010

XOR Encryptor

I am trying how simple XOR works and try out some control.

.exe:http://www.mediafire.com/file/miymdntmyj2/XOR Encryption.exe

Source:http://www.mediafire.com/file/miymdntmyj2/XOR Encryption.exe

bug existed:
-character with even times of occurence will not be encryted, because of the System::String Replace function which replace all the character specified in the string.
#Possible solution,break into string array and XOR one string by one string.

Wednesday, May 12, 2010

Decimal Binary Convertor beta

After alot of reading, I manage to use the template in visual studio to create this little program.

exe: http://www.mediafire.com/file/4mmmmtz0nhm/Calculator.exe
source: http://www.mediafire.com/file/ggozddygomy/Calculator.rar

The code is written in the header file (what the?),with the help of an youtube video of making a calculator with visual c++.

Tuesday, May 11, 2010

The first step.

Yeah, finally cs1102c nightmare has ended. Instead of coding something funny to solve the funny questions, I want to start coding something usefull.

So, programming knowledge of cs1101c and cs1102c is not enough.There are many things I have to learn myself, first thing come into my mind is GUI.

I will start with something simple, Binary Decimal convertor.This will be usefull for my second year study as we need to learn binary.

And the achievement so far:
Microsoft Visual studio 2010 ultimate 74% downloaded.
Algorithm for decimal to binary finished.
Learning GUI 0%.

Things to do:
mastering visual c++.
Create a GUI.
Algorithm for binary to decimal(should be easy).

Possible improvement for the convertor,
Support basic calculation for the input form.
Become a universal convertor.