473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

time functions from C/C++/VC++ confuse me....

Hi,
Last night I was trying to work on a project requiring lots of timer
controls...I needed good ANSI based API's for milliseonds and other
stuff...

However , google on time funcitons in c++, produced a lot of info
,,,but none of them seemed to be from bare C++.

Kindly help with which API has been originally deigned for time
controls and also which are outdated...

Thanks,
a.a.cpp

Jul 23 '05 #1
3 1527
"iceColdFire" <ic*******@yahoo.com> writes:
Hi,
Last night I was trying to work on a project requiring lots of timer
controls...I needed good ANSI based API's for milliseonds and other
stuff...

However , google on time funcitons in c++, produced a lot of info
,,,but none of them seemed to be from bare C++.

Kindly help with which API has been originally deigned for time
controls and also which are outdated...
How about Boost.Date_Time? Take a look at
http://boost.org/doc/html/date_time.html

Thanks,
a.a.cpp


--
Mikhail Polatov
Jul 23 '05 #2
hi: Mikhail
Indeed Boost.[...] is impressive wrapper for time functions...however I
am interested in using ANSI based pure C++ api's...means those api's
which have been defined for the C++ standard by the ANSI committee...

Thanks,
a.a.cpp

Jul 23 '05 #3
iceColdFire wrote:
Hi,
Last night I was trying to work on a project requiring lots of timer
controls...I needed good ANSI based API's for milliseonds and other
stuff...

However , google on time funcitons in c++, produced a lot of info
,,,but none of them seemed to be from bare C++.

Kindly help with which API has been originally deigned for time
controls and also which are outdated...

All the date and time functions of ISO C++ are defined in header <ctime>. It doesn't
provide millisecond accuracy explicitly, the smallest thing you can get is clock_t type
and CLOCKS_PER_SEC which is the amount of clock_t that consist a second.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Peter Nolan | last post by:
Hi All, I am testing some VC++ code from win2000 on a Solaris machine. I've found a couple of functions that are in VC++ but not the sun compiler. The two so far are: itoa - Integer to asci...
21
by: Rubén Campos | last post by:
I haven't found any previous message related to what I'm going to ask here, but accept my anticipated excuses if I'm wrong. I want to ask about the real usefulness of the 'inline' keyword. I've...
3
by: _mario lat | last post by:
I try to fing on google but I have not find someting. How can I get the CPU time ? How can I know the true time my code spend? Thank you in advance, Mario.
7
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the...
5
by: rs | last post by:
I have a table with a timestamp field which contains the date and time. ie. 9/13/2004 9:10:00 AM. I would like to split this field into 2 fields, one with just the DATE portion ie 9/13/2004 and...
8
by: Edward Diener | last post by:
By reuse, I mean a function in an assembly which is called in another assembly. By a mixed-mode function I mean a function whose signature has one or more CLR types and one or more non-CLR...
1
by: Alex | last post by:
Hello, I'm trying to integrate one functionality in MFC application that uses Multithreaded Debug run-time library (Debug configuration). (VC++, Microsoft Visual Studio 6.0, both MFC application...
1
by: sandy111 | last post by:
here i hav a vc++ dll with some functions defined so that i can import from other applications. how can i import the same functions of vc++ in my c# applications so that i can use those...
6
by: =?Utf-8?B?Umlja3kgQ2hvbmc=?= | last post by:
I am using VC++ 2005 professional edition to develop the program to access the usb port. I have downloaded the WDK 6001, but it can't be installed in the windows2000 platform. I have try to use...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.