Subj : Re: BC++ 5.0 made executables and high cpu usage. To : borland.public.cpp.borlandcpp From : Genie Date : Sun Jun 27 2004 04:26 pm I checked the cd for profiler but I didnt see anything on there relating to software called profiler. Do you know any other tools out there that can do what you suggested. I checked thru each source file manually and I can't find anywhere I have a run-away loop. the platform is win 32 >> >>Can anyone explain why that is. > >Because your program is running in a loop. > >I don't remember if BC++5 came with a profiler. (version 3 did) If you >have one, run it with your program to see where you are wasting time. > >You didn't say what type of program you are building, DOS, Windows >GUI, Windows Console. >If DOS, and you are sitting in a keyboard loop like this: > while( !kbhit() ); >You will be doing a whole lot of nothing but waste cpu time. > > > .