2023-10-25 13:02:23 +00:00
|
|
|
// Include standard headers
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
|
|
|
// Include project headers
|
|
|
|
#include <cx.h>
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
main(void) {
|
|
|
|
GLFWwindow *window;
|
2024-07-06 16:04:24 +00:00
|
|
|
Neural_Network *nn;
|
|
|
|
int retval;
|
|
|
|
|
2023-10-25 13:02:23 +00:00
|
|
|
if (cx_glinit(&window)) {
|
|
|
|
return -1;
|
|
|
|
}
|
2024-09-29 20:11:45 +00:00
|
|
|
|
2024-07-06 16:04:24 +00:00
|
|
|
if (cx_nninit(&nn)) {
|
|
|
|
return -1;
|
|
|
|
}
|
2023-10-25 13:02:23 +00:00
|
|
|
|
2023-12-13 09:56:21 +00:00
|
|
|
retval = cx_glrun(window);
|
|
|
|
return retval;
|
2023-10-25 13:02:23 +00:00
|
|
|
}
|