Kwakstur wrote:
I'm assuming that there is some special form of C++ for mobiles (of course, there's a different form of it for everything to incorporate types of output), so I guess I need to use some program to program.
Errr... most mobiles I know can be programmed in Java, since theoretically the same code should run on all of them. I don't think that there are many publically available C++ compilers for them though, given the oodles of different makes and models of phones available.
As for your other question - about every programming language has a commandline compiler (to use in conjunction with Notepad and the likes), but there's also integrated development environments for just about all of them.
Now, I can't speak for developing for mobile phones (and no, your calculator probably doesn't qualify for that - it's waaay underpowered to run Java), but I really like using
Eclipse for Java development. It also supports C++ development, but that didn't work quite as well as Java last time I checked.
If you're looking for a simple C++ IDE on the other hand, you probably can't go very wrong with
Microsoft's Visual C++ Express, which is basically a free, stripped down version of their C++ IDE. I believe it also comes with a C++ tutorial, though I might be wrong - personally, I'm using it's big brother, Visual Studio 2005 Professional Edition.
I'm afraid I can't exactly point you to any good Java/C++ tutorials, as it's been ages since I learned both of them, using mostly printed German material that I got from school/uni... I could point you at a good tutorial for optimizing C++, but that's probably a great bit premature...
You could, of course, give
Sun's Java Tutorial a try - it's totally not aimed at mobiles, but I think you should try writing (at least small) programs for a PC first before even thinking of writing stuff for even smaller platforms, as that is more complicated - after all, you don't really want to write your programs *on* your phone, right?
EDIT: Actually, the tutorial you linked to had this warning:
It is also highly recommended that you be fairly competent in any programming language. And when I say "any programming language", I mean, of course, C. If z80 is your first venture into programming, I guarantee you, reading this guide will give you a brain aneurysm. Well, maybe that's a bit harsh, but I will use C as a kind of "pseudocode" from time to time, so if you know any kind of high-level language (with the definite exception of TI-BASIC) you should do okay.
Believe me - he wasn't kidding, especially on the "
need to be fairly competent in
any programming language C"
part...
np: Blamstrain - Kingdom Kittens (Lowblow)
____________________________
"
I'm not anti-anything, I'm anti-everything, it fits better."
- Sole
R.I.P. Robert Feldhoff (1962-2009)
[Last edited by Briareos at 08-12-2007 11:54 AM]