aboutsummaryrefslogtreecommitdiff
path: root/CST 126/Homework2/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CST 126/Homework2/main.cpp')
-rw-r--r--CST 126/Homework2/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CST 126/Homework2/main.cpp b/CST 126/Homework2/main.cpp
index 2e246ff..1933eac 100644
--- a/CST 126/Homework2/main.cpp
+++ b/CST 126/Homework2/main.cpp
@@ -56,8 +56,8 @@ bool Worker()
Destination = InputFileName("\nWhat is the name of the file you wish to save the decoded information?: ");
size = SizeOfFile(MyFile);
buffer = ReadTextFromFile(MyFile, buffer);
- success = WriteFileFromBinary(size, Destination, buffer, Base64Decode(buffer, size));
- // delete[] buffer;
+ success = WriteFileFromBinary(Destination,buffer, Base64Decode(buffer, size));
+ //delete[] buffer;
return true;
case'f':
std::cout << "Have a great day!" << std::endl;