Syntax Example.... WindowsMessage YourMessageObject (" Your window name. " , " Your Window Message ");
Example .... WindowsMessage HeyJacob (" Greeting to Jacob " , " Hello there Jacob!" );
- ____________________OutputWindow ____________________
Syntax Example.... YourMessageObject.OutputWindow();
Example.... HeyJacob.OutputWindow();
WindowsMessage YourMessageObject(" Your window name. ", " Your Window Message ");
WindowsMessage HeyJacob(" Greeting to Jacob ", " Hello there Jacob!");
YourMessageObject.OutputWindow();
HeyJacob.OutputWindow();
Syntax Example .... WindowsBattery ObjectName (Is battery present true or false);
Example .... WindowsBattery Battery(true);
(1.) ____________________ Output_Battery_Percentage_As_String ____________________
Syntax Example.... YourBatteryObject.Output_Battery_Percentage_As_String();
Example.... Battery.Output_Battery_Percentage_As_String();
(2.) ____________________ Output_Battery_Percentage_As_Double ____________________
Syntax Example.... YourBatteryObject.Output_Battery_Percentage_As_Double();
Example.... Battery.Output_Battery_Percentage_As_Double();
(3.) ____________________ Output_Battery_Percentage_As_Integer ____________________
Syntax Example.... YourBatteryObject.Output_Battery_Percentage_As_Integer();
Example.... Battery.Output_Battery_Percentage_As_Integer();
WindowsBattery Battery(true);
cout << "Battery Percent as a String %" << Battery.Output_Battery_Percentage_As_String() << endl;
cout << "Battery Percent as a Double %" << Battery.Output_Battery_Percentage_As_Double() << endl;
cout << "Battery Percent as a Integer %" << Battery.Output_Battery_Percentage_As_Integer() << endl;
cin.get();