aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/example.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/example.cpp b/example/example.cpp
index 60c998f..c7ec982 100644
--- a/example/example.cpp
+++ b/example/example.cpp
@@ -21,12 +21,12 @@ int main() {
21 char cstr[500]; 21 char cstr[500];
22 22
23 std::cout << "The solved cube looks like this in H48 notation:\n"; 23 std::cout << "The solved cube looks like this in H48 notation:\n";
24 cube_write((char *)"H48", cube, cstr); 24 cube_write("H48", cube, cstr);
25 std::string solvedstr(cstr); 25 std::string solvedstr(cstr);
26 std::cout << solvedstr << "\n"; 26 std::cout << solvedstr << "\n";
27 std::cout << "After a sexy move it looks like this:\n"; 27 std::cout << "After a sexy move it looks like this:\n";
28 cube = apply_alg(cube, moves); 28 cube = apply_alg(cube, moves);
29 cube_write((char *)"H48", cube, cstr); 29 cube_write("H48", cube, cstr);
30 std::string sexystr(cstr); 30 std::string sexystr(cstr);
31 std::cout << sexystr << "\n"; 31 std::cout << sexystr << "\n";
32 32

Generated with cgit - Back to sebastiano.tronto.net