CPU clock .bat copy the code and run , Free . New version 5.4a with Formatted Date and Time
Source code is larger . getList() formalized as a Menu
with it's own Render method() , Event Recognizer, Event Manager.
With 22 character Identifier Names .
Date and Time format was a good trick .
Wasn't sure if it could could be done , but i did it .
Weeks ago , i did find that ) parenthesis
out in the middle of nowhere from the previous post .
That has been fixed .
No issues in v5.4a that i am aware of .
Adjust CPU clock frequency from the desktop .
software project kit . Requires typing the source code
presented in this video .
version 5.4a final release . Best Strutured look
for a batch file program to the analogy of C and C++
structured programming , with Exception handling .
Setup instructions included .
With better video presentation
Modify the Source code to fit your needs .
Finally reached a point where i can no longer
find anything to "nip and tuck" .
The same functionality is still there , same performance too .
Made many tny tweaks to the source over the last few weeks .
Holding off from posting another "Close but not good enough" version .
Well , version 5.4a seems to be Good Enough .
You won't read about the techniques in any batch file book .
I made the Intro audio with Synthesizers from Magix Music Maker .
Main Menu keys :
1 2 3 4 5 6 7 8 9 selects a CPU frequency
H key opens Help
L opens List of available Power Plans , menu
T update , Date and Time
U updates CPUclock.bat to that of the Power Scheme Power Panel
List Menu keys :
1 2 3 4 5 6 selects a power scheme
A Activate selected power plan and return to Main Menu
C Cancel out of the List and return to Main Menu
H Opens Help
Seven Books , all 5 Stars :
title: Fundamentals of Object-Oriented Design in UML
ISBN 0-20169946-X
publisher Addison Wesley
year 4th printing , 2000
page count 458
title: Introduction to 3D Game Programming with
DIRECTX 9.0c , A SHADER APPROACH
ISBN-13: 978-1-59822-016-2
ISBN-10: 1-59822-016-0
publisher WordWare
year 2006
page count 626
title: 3D Game Programming with DirectX 12
ISBN 978-1-942270-06-5
publisher Mercury Learning
year 2016
page count 824
title: C++ How To Program , Third Edition
ISBN 0-13-089571-7
publisher Prentice Hall
year 2001
page count 1,168
title: C++ Programming
Program Design Including Data Structures
Third Edition
ISBN-13 978-1-4188-3640-5
ISBN-10 1-4188-3640-0
publisher Thomson Course Technology
year 2007
page count 1,575
title: Sam's Teach Yourself C++ in 21 days
Fifth Edition ( first printing: December 2004 )
ISBN 0-672-32711-2
publisher Sams Publishing
year 2005
page count 911
title: Practical Algorithms in C++
ISBN 0-471-00955-5
publisher John Wiley & Sons , Inc
Coriolis Group Book
year 1995
page count 445
Hash Tables ( chapters 1 to 7 )
Binary Trees chapter 8
Text Searching chapter 11
State Machines chapter 16
tags :
Free Batch File Program
C structured programming
C++ Exception handling
try throw catch rethrow
main()
runMainMenu()
eventLoop ( Infinit Loop )
eventLoop contains Renderer and Event Recognizer
Event Recognizer , detects an Event and generates an EventID
Event Recognizer does NOT know which Event occured
Event Recognizer detects interrupt based , keyboard and mouse activity
and external transducer connected interrupts .
eventManager()
Event Manager , determines which Event occured and processes
the Event . Additional processing may occur through
additional function() calls .