Hi,

I am trying to find the header file monetary.h and the function strfmon() to do some currency conversions, but Visual Studio 2005 compiler doesn't seem to support those. Does anyone know if there is an alternative function I can use ?

Thanks a lot.

my guess is they are only supported on *nix and POSIX. Microsoft compilers have very little POSIX support. Even GNU doesn't seem to support it across all platforms of its compilers. I have the most recent version of Dev-C++ and monetary.h is not supported there either.

I have some great reference manuals, I didnt see anything in there

what actually are u trying to do with strfmon. You could so few things using sprintf family as well. As said before strfmon is not a standard function, no protability at all.

ssharish

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.