m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-01-03 23:11:47 -0500
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-01-03 23:11:47 -0500
commit57deb3c316dc4d9412251d51625a341c7bfbc284 (patch)
tree98a66e5ad91b4b30864bc8f9d1316b7feeba3ab9
parent4cd91c194dc93197ea972cfbd792f7acd81025d1 (diff)
Switch to iostream
-rw-r--r--src/brandes.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/brandes.cc b/src/brandes.cc
index 7e8870d..b855750 100644
--- a/src/brandes.cc
+++ b/src/brandes.cc
@@ -1,8 +1,10 @@
-#include <cstdio>
+#include <iostream>
int main(int argc, char *argv[]) {
if (argc < 4) {
- fprintf(stderr, "USAGE: ./brandes <number-threads> <input-file> <output-file>\n");
+ std::cerr
+ << "USAGE: ./brandes <number-threads> <input-file> <output-file>"
+ << std::endl;
return 1;
}