![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Couple of coding related questions... within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi, I just started deving for my PSP last night, I'm currently porting some of my old GBA code to ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Hi, I just started deving for my PSP last night, I'm currently porting some of my
old GBA code to it, but few questions arised. (n00b questions, I know, but after whole night of coding U're sometimes just too lazy to dig... ![]() First one is simple: What is PSP's pixel format? My guess would be xbbbbbgggggrrrrr... Getting even close? Second one: How come I can't use the 'address of' operator (&). Compiler says "parse error before '&' token". Is this some kind of C vs. C++ issue...? Third one: How come booleans are not supported? Or are they? Fourth: Why can't I use sin() function, even if I include <math.h>? That's not a big deal, of course I use a lookup, just made me wonder... ![]() I set up my environment using the step by step help from this forum. (Thanks for the writer, btw!) Any help appreciated!!! :clap: |
|
|
|
|
|
|
#3 | ||||
![]() |
Quote:
![]() Quote:
Code:
int whatever = TRUE; int* myptr = &whatever; Quote:
Code:
#define FALSE 0 #define TRUE 1 int yourbool = TRUE; Quote:
Good luck with your coding
|
||||
|
|
|
![]() |
| Tags |
| coding , couple , questions , related |
| Thread Tools | |
|
|