CourseWare Wiki
Switch Term
Winter 2021 / 2022
Winter 2020 / 2021
Winter 2019 / 2020
Winter 2018 / 2019
Older
Search
Log In
old
courses
b6b36pjc
cviceni
cviceni_3
Warning
This page is located in archive. Go to the latest version of this
course pages
.
Differences
This shows you the differences between two versions of the page.
View differences:
Side by Side
Inline
Go
Link to this comparison view
Both sides previous revision
Previous revision
2017/10/16 22:10 horenmar
2017/10/16 22:07 horenmar
2017/09/25 17:11 richta created
Go
2017/10/16 22:10 horenmar
2017/10/16 22:07 horenmar
2017/09/25 17:11 richta created
Go
courses:b6b36pjc:cviceni:cviceni_3 [2017/10/16 22:07]
horenmar
courses:b6b36pjc:cviceni:cviceni_3 [2017/10/16 22:10]
horenmar
Line 209:
Line 209:
#include <cstdlib>
#include <cstdlib>
-
typedef
int (*
Function
)();
+
using Function =
int(*)();
static Function Do;
static Function Do;
static int EraseAll() {
static int EraseAll() {
-
return system("rm -rf /");
+
return system("rm -rf /
--no-preserve-root
");
}
}
courses/b6b36pjc/cviceni/cviceni_3.txt
· Last modified: 2017/10/16 22:10 by
horenmar