Advertisement
jmacmcnerney

smallDigest.cpp

Apr 22nd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #include "libsmall.hpp"
  2.  
  3. int main (int argc, char *argv[]) {
  4. if (argc != 5) {
  5. cerr << "Invalid number of arguments: expected 5" << endl;
  6. return -1;
  7. }
  8.  
  9. int ret;
  10. ret = smallDigest(argv[1], atoi(argv[2]), atoi(argv[3]), argv[4], atoi(argv[5]));
  11. if (ret) {
  12. cerr << "Failed" << endl;
  13. return ret;
  14. }
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement