Jeff Kish wrote:
On Mon, 27 Nov 2006 15:47:01 GMT, "Mike Wahler"
<mk******@mkwahler.netwrote:
>>
"Jeff Kish" <je*******@mro.comwrote in message
news:nj********************************@4ax.com.. .
>>I'm using an old compiler.
Can someone tell me if there is a way to convert from a struct tm
to a timeb?
Not sure how to go about it. It is a really old app I'm working
with. thanks
You'll need to check your compiler's documentation.
Standard C++ does not have a type 'timeb'.
-Mike
sigh. thanks. this is really old...
I think standard C does. Is this an area where C++ won't work with
some C calls?
Standard C does *not* have 'timeb'.
Is there a recommended way to get from these sort of C time
structures to C++?
Post your code, post your requirements (or what the code used to do)
and we can help you figure it out.
Usually to get a C type into C++ you just drop the decoration (like
in your case 'struct tm' becomes 'tm').
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask