| View previous topic :: View next topic |
| Author |
Message |
someone Idiot
Joined: 13 Sep 2005 Posts: 74
|
Posted: Tue Sep 04, 2007 7:31 pm Post subject: verry newbie question |
|
|
hi to all im very very new to C++/C can pls some one tech me how can i compile my source code to a header file with "static unsigned char" and without that
thanks :) |
|
| Back to top |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
|
| Back to top |
|
 |
someone Idiot
Joined: 13 Sep 2005 Posts: 74
|
Posted: Wed Sep 05, 2007 7:19 am Post subject: clarify |
|
|
who can i compile a source code to header
I got these 2 files and insted of building it to prx/elf i want it to output to ".h" file lets say "main.h" how can i do that?
main.c
Makefile |
|
| Back to top |
|
 |
BlackDiamond
Joined: 02 Jul 2005 Posts: 16 Location: Paris, FRANCE
|
Posted: Wed Sep 05, 2007 7:26 am Post subject: |
|
|
It still doesn't make any sence.
Do you want to make a code generator? |
|
| Back to top |
|
 |
someone Idiot
Joined: 13 Sep 2005 Posts: 74
|
|
| Back to top |
|
 |
flatmush
Joined: 07 Aug 2007 Posts: 28 Location: Here
|
Posted: Wed Sep 05, 2007 8:31 am Post subject: |
|
|
| OK I know what you're getting at and you're a tool. You can't create a .h file and .c file, we're not in the point and click realms now, you have to write that .h file your self, I would suggest learning C. |
|
| Back to top |
|
 |
someone Idiot
Joined: 13 Sep 2005 Posts: 74
|
Posted: Wed Sep 05, 2007 8:48 am Post subject: thnk |
|
|
| @flatmush thanks at least now ill try to learn more on C/C++ ^_^ coz really i dnt have any idea on .h(Header) file :) |
|
| Back to top |
|
 |
|