|
Boost :
|
- Next message: degski: "Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development"
- Previous message: degski: "Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development"
- In reply to: degski: "Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development"
- Next in thread: degski: "Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development"
- Reply: degski: "Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development"
degski wrote:
> The below works just fine for me, no header:
>
> #include <iostream>
>
> extern "C" void rand_s ( unsigned int* );
Something like that could probably work, but this is not the correct
prototype. rand_s returns errno_t. If you try
#define _CRT_RAND_S
#include <stdlib.h>
extern "C" void rand_s( unsigned int* );
you get an error.
errno_t seems to be just a typedef for int though.
- Next message: degski: "Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development"
- Previous message: degski: "Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development"
- In reply to: degski: "Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development"
- Next in thread: degski: "Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development"
- Reply: degski: "Re: [boost] boost::random, header-only, boost::uuids::detail::seed_rng, and UWP development"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk