Update xeinit.cpp to version 2
This commit is contained in:
parent
cecc5e8906
commit
a4dc512b48
|
@ -0,0 +1,15 @@
|
|||
#include<iostream>
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
int main(){
|
||||
int a=0,b;
|
||||
printf("Press Ctrl+C to stop");
|
||||
for(;;){
|
||||
a=rand();
|
||||
b=a;
|
||||
a%=2;
|
||||
//getchar();
|
||||
}
|
||||
printf("%d %d",a,b);
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue