If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
That link will teach you some basics on coding for the psp. But you should learn how to for pc first. C or C++. Find a c++ guide if you are really interested.
you will need a IDE like devc++ (bloodshed) to code on. Google it
// Hello World - My First App for the PSP
/*
This program was created by Kevin on 03/10/09
it's a simple "hello world" application.
#include <pspkernel.h>
#include >pspdebug.h>
#define printf pspDebugScreenPrintf
/* Exit callback */
int exit_callback(int arg1, int arg2, void *common) {
sceKernelExitGame();
return 0;
}
/* Callback thread */
int CallbackThread(SceSize args, void *argp) {
int cbid;
I got confused at int myFunction() {
//Display 'B'
return 0;
}
int main() {
//Display 'A'
Hello world ();
//display 'C'
return 0; so I put display and now I saved it as main.c and switch it with main in the psp/sdk/samples/basic/controllers folder and now when I make it It never works I type makefile and doesnt work please help me code please
}
you didnt follow the instructions. You must read carefully and be patient
Code:
//Do not put this in your program.
//It is an example.
int myFunction() {
//Print Out 'A'
return 0;
}
int main() {
//Print Out 'B'
myFunction();
//Print Out 'C'
return 0;
}
I have a problem too. Im running Windows XP SP2 [cmd ver 5.1.2600] and i get an error that says " 'make' is not recognized as an internal or external command, operable program or batch file " ... why wont it work? I dont want to have to re-install cygwin on my flash drive [so i can compile at school using a series of exploits]
EDIT:: never mind, i fixed the bat file and now it works perfectly
[although a little slower than cygwin]
nice i will try to make my own programs now, i was wondering how to create programs on my own and now i know thnx a lot.
__________________
Quote:
90% of teens today would die if Myspace was completely destroyed. If you are one of the 10% that would be laughing, copy and paste this to your signature.
Please Click on the above pictures to help my Dragon Level up, Thanks in Advance!!!