PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

how to put my codes in cpp file?

I had seen the sample which told me how to create game with EDGE, but all the code are in H file, now I need to put some code in cpp file, can you tell me how to do it?(windows mobile 5)
Hi,

It's possible to have multiple .cpp files without much trouble. Make a .cpp file containing the EdgeMain function, and include edgemain.h (and possible definitions before that). In the other .cpp files, include edge.h and your own headers.
I got it! thank you!