hi

can i have a clock in my program when it runs the clock keep running like the computer time?
and how?

yes -- add another thread and put the code for your clock in that thread.

i didn't get what you said??

study up on how to create threads. How to do that will depend on the operating system you are using.

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.