From: Robert Klemme Date: 2005-11-17T18:17:20+09:00 Subject: Re: Improving code... Joe Van Dyk wrote: > It should be fairly obvious as to what I'm doing (getting information > about a process -- right now just cpu percentage). > > Any ideas on how I can improve this code? I'm not a big fan of how > the scanf stuff works. > > This is also heavily *nix-biased, and I'm not sure how to properly > work with Windows. Did you consider using Benchmark? I don't know what you're up to eventually but it might well do what you are looking for. Kind regards robert