mirror of
https://github.com/Ed94/gencpp.git
synced 2024-11-10 02:54:53 -08:00
38 lines
461 B
C++
38 lines
461 B
C++
#include "Bloat.cpp"
|
|
#include "math.hpp"
|
|
#include "Array.hpp"
|
|
|
|
|
|
#ifdef gen_time
|
|
#include "gen.cpp"
|
|
|
|
int gen_main()
|
|
{
|
|
Memory::setup();
|
|
|
|
zpl_printf("\nPress any key after attaching to process\n");
|
|
getchar();
|
|
|
|
gen::init();
|
|
|
|
int
|
|
result = gen_math();
|
|
// result = gen_array_file();
|
|
|
|
Memory::cleanup();
|
|
return result;
|
|
}
|
|
#endif
|
|
|
|
|
|
#ifndef gen_time
|
|
#include "math.hpp"
|
|
|
|
int main()
|
|
{
|
|
u32 result = square( 5U );
|
|
|
|
zpl_printf("TEST RESULT: %d", result);
|
|
}
|
|
#endif
|