This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstring> | |
#include <cstdio> | |
#include <cstdlib> | |
#include <string> | |
#include "utils.h" | |
using namespace std; | |
namespace utils { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "utility.h" | |
#include <iostream> | |
#include <ctime> | |
#include <cstdlib> | |
namespace utility { | |
using namespace std; | |
// Generate a random number between 0 and 1 | |
// return a uniform number in [0,1]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run("C:\WINDOWS\system32\control.exe desk.cpl", "C:\Windows\system32\") | |
WinWait("Screen Resolution") | |
ControlCommand("Screen Resolution", "", "ComboBox3", "SetCurrentSelection", "1") | |
ControlClick("Screen Resolution", "", "Button4") | |
WinWait("Display Settings") | |
ControlClick("Display Settings", "", "Button1") |
NewerOlder