We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 128166f + 67f5cc4 commit ca534f1Copy full SHA for ca534f1
src/main.cpp
@@ -57,7 +57,11 @@ void initNodes(vector<Node>& nodes, T arr) {
57
}
58
59
int main() {
60
+#ifdef _WIN32
61
system("title A* pathfinding");
62
+#else
63
+ printf("\033]0;A* pathfinding\a");
64
+#endif
65
66
Pathfinder pathfinder;
67
vector<Node> nodes;
@@ -91,7 +95,11 @@ int main() {
91
95
};
92
96
93
97
initNodes(nodes, grid);
98
94
99
system("pause");
100
101
+ system("read -p 'Press Enter to continue...'");
102
103
104
// size of board 25 x 25 ( 0 - 24, 0 - 24)
105
@@ -104,7 +112,11 @@ int main() {
112
113
printNodes(nodes, start_node, end_node);
106
114
115
107
116
117
118
119
108
120
return 0;
109
121
110
122
0 commit comments