Time login personal | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Time login personal

How to get the C ++ code for hours of employee login & log-outs during a month? Thx

7th Jan 2018, 9:39 AM
PaRvA
PaRvA - avatar
1 Answer
0
You may used a time file in C++ to access time information from their computer system. Whenever the employee logs in or out, call a function that store their information along with the current time into a linked list and save it within a file on the local computer. If it's global, you may need to use a server side scripting language, or if it's local, follow my advice. Access the file within your directory to see the time stamps or read the information from the file and print it to the console. Hope this helps!
14th Jul 2018, 4:28 PM
MeeoSlammer