Skip to content

Commit a30b35d

Browse files
authored
Merge pull request #48 from ahmetince/patch-1
rearranged
2 parents b01ee93 + 7f8d1ab commit a30b35d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/random_demo.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#include <stdio.h>
1+
#include <iostream>
22
#include "random.h"
33

44
int main(void) {
5-
printf("generate random numbers\n");
5+
std::cout <<"generate random numbers\n";
66
for (int i=0;i<100;i++) {
7-
printf("%u\n",alg::LCG());
7+
std::cout<<alg::LCG()<<"\n";
88
}
99
}

0 commit comments

Comments
 (0)