Browse Source

Update 'cordiceps.cpp'

master
Archivist 3 months ago
parent
commit
97ee5d45d5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      cordiceps.cpp

+ 2
- 2
cordiceps.cpp View File

@ -121,11 +121,11 @@ void decode(const char* pic) {
}
}
UnloadImage(image);
std::cout << from_bits(raw_bits).c_str() << std::endl;
std::cout << from_bits(raw_bits);
}
int main(int argc, char** argv) {
if(argc < 1) {
if(argc <= 1) {
perror("arguments missing, expected: picture then datafile for coding, picture for decoding");
}
if(argc == 3) {

Loading…
Cancel
Save