12 Sep
2017
12 Sep
'17
2:56 p.m.
On 12 September 2017 at 17:35, Peter Dimov via Boost
... making random_device header-only would indeed be useful, as long as we don't include
.
The below works just fine for me, no header: #include <iostream> extern "C" void rand_s ( unsigned int* ); int main ( ) { unsigned int x; rand_s ( &x ); std::cout << x << '\n'; return 0; } Isn't "C" great (sometimes). degski -- "*Ihre sogenannte Religion wirkt bloß wie ein Opiat reizend, betäubend, Schmerzen aus Schwäche stillend.*" - Novalis 1798