hello everyone , i have a code for selection sort and i wanna modify it to give me a running time , any help?
katara11 0 Newbie Poster
Recommended Answers
Jump to PostI don't see said code so I can't offer much except you would add a variable or two to hold the start time and end time then a little more code to print that out.
For Linux I use the time command. Example document at
All 3 Replies
rproffitt 2,701 https://5calls.org Moderator
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
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.