diff --git a/Homework/SC/app b/Homework/SC/app new file mode 100755 index 0000000..5fd89a1 Binary files /dev/null and b/Homework/SC/app differ diff --git a/Homework/SC/func.c b/Homework/SC/func.c index 339f5ab..b5c29dd 100644 --- a/Homework/SC/func.c +++ b/Homework/SC/func.c @@ -1,4 +1,8 @@ #include "head.h" +#include +#include +#include +#include Stack get(Stack *l, int n) { if (n > len(l)) diff --git a/Homework/SC/head.h b/Homework/SC/head.h index e2a67e3..1dcd576 100644 --- a/Homework/SC/head.h +++ b/Homework/SC/head.h @@ -1,7 +1,3 @@ -#include -#include -#include -#include #define N 6 diff --git a/Homework/SC/main.c b/Homework/SC/main.c index b4ca097..f4b0b9f 100644 --- a/Homework/SC/main.c +++ b/Homework/SC/main.c @@ -1,4 +1,8 @@ #include "head.h" +#include +#include +#include +#include int main(int argc, char *argv[]) { srand(time(0)); @@ -54,7 +58,7 @@ int main(int argc, char *argv[]) { } } - printf("result: %lF\n", get(numbers, 0).x); + printf("result: %lF\n", get(numbers, -1).x); free(numbers); return 0; diff --git a/Home/PL/HW/Tests/hw3.c b/OldHome/PL/HW/Tests/hw3.c similarity index 100% rename from Home/PL/HW/Tests/hw3.c rename to OldHome/PL/HW/Tests/hw3.c diff --git a/Home/PL/HW/Tests/hw3.exe b/OldHome/PL/HW/Tests/hw3.exe similarity index 100% rename from Home/PL/HW/Tests/hw3.exe rename to OldHome/PL/HW/Tests/hw3.exe diff --git a/Home/PL/HW/hw7/app.exe b/OldHome/PL/HW/hw7/app.exe similarity index 100% rename from Home/PL/HW/hw7/app.exe rename to OldHome/PL/HW/hw7/app.exe diff --git a/Home/PL/HW/hw7/func.c b/OldHome/PL/HW/hw7/func.c similarity index 100% rename from Home/PL/HW/hw7/func.c rename to OldHome/PL/HW/hw7/func.c diff --git a/Home/PL/HW/hw7/gen.c b/OldHome/PL/HW/hw7/gen.c similarity index 100% rename from Home/PL/HW/hw7/gen.c rename to OldHome/PL/HW/hw7/gen.c diff --git a/Home/PL/HW/hw7/head.h b/OldHome/PL/HW/hw7/head.h similarity index 100% rename from Home/PL/HW/hw7/head.h rename to OldHome/PL/HW/hw7/head.h diff --git a/Home/PL/Lessons/04.04/func.c b/OldHome/PL/Lessons/04.04/func.c similarity index 100% rename from Home/PL/Lessons/04.04/func.c rename to OldHome/PL/Lessons/04.04/func.c diff --git a/Home/PL/Lessons/04.04/head.h b/OldHome/PL/Lessons/04.04/head.h similarity index 100% rename from Home/PL/Lessons/04.04/head.h rename to OldHome/PL/Lessons/04.04/head.h diff --git a/Home/PL/Lessons/04.04/main.c b/OldHome/PL/Lessons/04.04/main.c similarity index 100% rename from Home/PL/Lessons/04.04/main.c rename to OldHome/PL/Lessons/04.04/main.c diff --git a/Home/PL/Lessons/Gnuplot/v.c b/OldHome/PL/Lessons/Gnuplot/v.c similarity index 100% rename from Home/PL/Lessons/Gnuplot/v.c rename to OldHome/PL/Lessons/Gnuplot/v.c diff --git a/Home/PL/Lessons/Gnuplot/v.exe b/OldHome/PL/Lessons/Gnuplot/v.exe similarity index 100% rename from Home/PL/Lessons/Gnuplot/v.exe rename to OldHome/PL/Lessons/Gnuplot/v.exe diff --git a/Home/PL/Lessons/L28.03 - Dinamic Structure/func.c b/OldHome/PL/Lessons/L28.03 - Dinamic Structure/func.c similarity index 100% rename from Home/PL/Lessons/L28.03 - Dinamic Structure/func.c rename to OldHome/PL/Lessons/L28.03 - Dinamic Structure/func.c diff --git a/Home/PL/Lessons/L28.03 - Dinamic Structure/header.h b/OldHome/PL/Lessons/L28.03 - Dinamic Structure/header.h similarity index 100% rename from Home/PL/Lessons/L28.03 - Dinamic Structure/header.h rename to OldHome/PL/Lessons/L28.03 - Dinamic Structure/header.h diff --git a/Home/PL/Lessons/L28.03 - Dinamic Structure/main.c b/OldHome/PL/Lessons/L28.03 - Dinamic Structure/main.c similarity index 100% rename from Home/PL/Lessons/L28.03 - Dinamic Structure/main.c rename to OldHome/PL/Lessons/L28.03 - Dinamic Structure/main.c diff --git a/Home/PL/Lessons/L28.03 - Dinamic Structure/mainc.exe b/OldHome/PL/Lessons/L28.03 - Dinamic Structure/mainc.exe similarity index 100% rename from Home/PL/Lessons/L28.03 - Dinamic Structure/mainc.exe rename to OldHome/PL/Lessons/L28.03 - Dinamic Structure/mainc.exe diff --git a/other/Vova/list/app b/other/Vova/list/app index fbb3ce6..c517997 100755 Binary files a/other/Vova/list/app and b/other/Vova/list/app differ diff --git a/other/Vova/list/fulfill.c b/other/Vova/list/fulfill.c index 4754418..6c8567f 100755 --- a/other/Vova/list/fulfill.c +++ b/other/Vova/list/fulfill.c @@ -15,8 +15,6 @@ int main(int argc, char *argv[]) } n1 = add_tail(n1, "tail"); - printf("First error\n"); - int i; for (i = 0; i < CO; i++) {