commit 5f3c370333f7fc6d67f17328e319264076895de6 parent 291fc70bd04e139b2bf7d33c26e88380297e669c Author: Minerva_juppiter <94231606+minerva-jupiter@users.noreply.github.com> Date: Thu, 21 Apr 2022 14:18:39 +0900 Diffstat:
| M | Program.cs | | | 10 | +++++++--- |
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Program.cs b/Program.cs @@ -51,10 +51,14 @@ static void sort() int a = 0; int b = 0; - string whereEncrypted + //質問ターイム + string whereEncrypted; + whereEncrypted = Question("Where is encrypted file?"); + string whereKeyFile; + whereKeyFile = Question("Where is KeyFile?"); //順序ファイルの読み込み - StreamReader sr = new StreamReader(path: "D:\a.txt", encoding: Encoding.GetEncoding("UTF-8")); - Console.WriteLine("読み込み終わり"); + StreamReader sr = new StreamReader(whereEncrypted, encoding: Encoding.GetEncoding("UTF-8")); + Console.WriteLine("Road was finished."); //配列に順序を書き込み while (a < 100)