diff --git a/ProgUit Lab1/Answers.txt b/ProgUit Lab1/Answers.txt new file mode 100644 index 0000000..5ccc09b --- /dev/null +++ b/ProgUit Lab1/Answers.txt @@ -0,0 +1,5 @@ +Ответы на вопросы к лабораторной номер 4 + +// "ProgUit Lab1.exe" -x --y /z w +argv[0] = ProgUit Lab1.exe + diff --git a/ProgUit Lab1/ProgUit Lab1.cpp b/ProgUit Lab1/ProgUit Lab1.cpp index df55fb3..021cff1 100644 --- a/ProgUit Lab1/ProgUit Lab1.cpp +++ b/ProgUit Lab1/ProgUit Lab1.cpp @@ -70,23 +70,23 @@ int main(int argc, char* argv[]) string promt; - bool promt1; + bool promt1 = true; cout << "DO YOU NEED CERR? (YES/NO)" << endl; - while (true) { - cin >> promt; - if (promt == "YES") { - promt1 = true; - break; - } else if (promt == "NO") { - promt1 = false; - break; - } else { - cout << "NORMALLY PLS: "; - } - cout << endl; - } + //while (true) { + // cin >> promt; + // if (promt == "YES") { + // promt1 = true; + // break; + // } else if (promt == "NO") { + // promt1 = false; + // break; + // } else { + // cout << "NORMALLY PLS: "; + // } + // cout << endl; + //} // Функция main @@ -98,7 +98,7 @@ int main(int argc, char* argv[]) - // РљРѕРґ + // Рћ diff --git a/x64/Debug/ProgUit Lab1.pdb b/x64/Debug/ProgUit Lab1.pdb index d3805f8..e348135 100644 Binary files a/x64/Debug/ProgUit Lab1.pdb and b/x64/Debug/ProgUit Lab1.pdb differ