From efd783166e47137c6556887072e757c9f7eeb250 Mon Sep 17 00:00:00 2001 From: Marek Date: Mon, 10 Nov 2014 14:44:08 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2bbd778..88d3f9f 100644 --- a/README.md +++ b/README.md @@ -20,15 +20,15 @@ int main(int argc,char** argv){ /* MD5 from c-string */ printf("md5sum: %s\n", md5sum( cstring ).c_str()); - /* MD5 from filename */ - printf("md5file: %s\n", md5file("README.md").c_str()); - /* Short MD5 from c-string */ printf("md5sum6: %s\n", md5sum6( cstring ).c_str()); /* Short MD5 from std::string */ printf("md5sum6: %s\n", md5sum6( str ).c_str()); + /* MD5 from filename */ + printf("md5file: %s\n", md5file("README.md").c_str()); + /* MD5 from opened file */ std::FILE* file = std::fopen("README.md", "rb"); printf("md5file: %s\n", md5file(file).c_str());