plfx
Still Fresh
- Joined
- Oct 4, 2010
- Messages
- 26
Alright guys, I'm brand spankin' new to homebrew on the caanoo, and getting into it is a pretty opaque matter, it seems. I wrote a small, totally air-headed helloworld to test the compiler:
#include <stdio.h>
int main()
{
It runs and correctly writes to the file, but it doesn't return me to the caanoo menu afterward. It just sticks on the "Loading" screen.
I see the function "gp2xCallMenu()" or something like that, but there must be some easier way to get back to the menu (without using the SDK). This part of the DGE comes as compiled object code ready for the linker, rather than as source, so there's no looking at the function to see how it works.
#include <stdio.h>
int main()
{
freopen(stdout,"hello.out","w");
printf("Hello, world!");
fclose(stdout);
return 0;
}printf("Hello, world!");
fclose(stdout);
return 0;
It runs and correctly writes to the file, but it doesn't return me to the caanoo menu afterward. It just sticks on the "Loading" screen.
I see the function "gp2xCallMenu()" or something like that, but there must be some easier way to get back to the menu (without using the SDK). This part of the DGE comes as compiled object code ready for the linker, rather than as source, so there's no looking at the function to see how it works.