Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Time

Posted on 1998-09-15
1
Medium Priority
?
161 Views
Last Modified: 2010-04-02
I just want to grab the minutes and maybe the seconds from the system clock but I don't know how to do this in C++
0
Comment
Question by:ds1964
1 Comment
 
LVL 22

Accepted Solution

by:
nietod earned 80 total points
ID: 1172791
The standard C++ way of doing this is with localtime().  There are also often operating system specific ways to get this information.

Let me know if you have questions.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question