Programs for Advent of Code 2022 Warning: contains quickly written code that has not been mostly cleaned and refactored.
Enter the number for the day you want to run, and enter the input. Once you do that, type in "end".
By typing "paste" in the input reader, you can make the program read your clipboard for input.
Alternatively, you can paste the input if your terminal allows it. This may be slow.
For CMD: Right click the top bar and select Edit>Paste
Or if you're one of those piping types you can put your input in a text file in a format like this:
1
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
end
2
A Y
B X
C Z
end
0
To use this with batch, do type input.txt | AoC2022.exe
This will run the first two programs.
Be sure to keep in the last newline.