Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Handhelds Programming Hardware IT Technology

C++ on Pocket PC? 16

hoibbes asks: "I was wondering if anyone knew of a C++ program for my Pocket PC. Now, I know that I will probably get quite a few replies saying Embedded Visual C++, and while they would be right, that is not what I am looking for. I am looking for a program that will let me write C++ code on my Pocket PC. So that while I am away on a trip I can still work on my code. I have been searching for a while now and have come up with nothing. I come to ask the help of Slashdot in a final attempt to find what I need."
This discussion has been archived. No new comments can be posted.

C++ on Pocket PC?

Comments Filter:
  • by jpsst34 ( 582349 ) on Friday April 25, 2003 @03:29PM (#5810778) Journal
    Look, you're going on a trip. Leave the pocket PC and the C++ code behind. Go to your nearest bike shop and pick up a shiny new Kona NuNu [konaworld.com] for about $650 US and go hit the singletrack. It will do you some good. Remember, there is life outside of your pocket PC. Trust me, this is the best advice you can recieve, lest you look back in 40 years and see that you spent your life doing anything but living.
  • I'm not sure I understand the problem. If you just want to write code, might I suggest the text editor that came with your PocketPC. Seriously though, you should install linux on it and just use gcc. Am I missing something here, 'cause this seems like a "no brainer".
  • I can relate (Score:4, Insightful)

    by GCP ( 122438 ) on Friday April 25, 2003 @04:23PM (#5811273)
    I like to write code for fun as well as profit. And a lot of people don't see the fun.

    People wouldn't give you any flack if you wanted to write music or poetry or draw, or even numb your brain with a game of solitaire, but they'll see writing code as "working" (heavens!) instead of as doing something creative in an interesting medium, and think that makes you pretty weird.

    If it does, at least you're not alone.

    I will say, though, that I don't find writing C++ to be much fun compared to something like Lisp. The creativity I feel when writing code is degraded, not heightened, when I have to take care of menial chores like memory management. I wouldn't want to write C++ on a small device, either, because it requires so much source code to say anything, and then you have to juggle header files, and root around in a debugger to see what damage your C operations are doing to memory, etc. You need a lot of those things in front of you simultaneously to be productive.

    I think that C++ on a pocket device wouldn't be worth doing (until we have full retinal scan displays), so I don't expect you to find much, but as .Net grows, you may eventually have access to things like Scheme or Python that run interactively on the device and do some pretty fun things.

    • I know that I'm the one with the first post to this article about buying a Kona Nunu, but I agree that there can be fun in coding. But I am also an advocate of not spending too much time on any one thing. Now, on to a more direct response...

      "I will say, though, that I don't find writing C++ to be much fun compared to something like Lisp. The creativity I feel when writing code is degraded, not heightened, when I have to take care of menial chores like memory management"

      OK, the only Lisp experience I
      • It makes stuff ... so trivial that you don't have to concern yourself with it

        I suggest using the .Net compact framework & C#! OOP complex enough to make you happy, but clean enough and no memory management issues to make quick work of just about anything.
  • by Judebert ( 147131 )
    While I can't say much about C++ on the PowerPC, I did just purchase a Sharp Zaurus ($200 refurb at TigerDirect, sometimes cheaper at other places). It can handle an install of gcc 2.95.1, so it would be capable of the coding you desire.
    • >Democracy is failing because you can't write an informed, active voting public into a constitution.

      I tried hard to resist ... but look into what the founding fathers mandated as their intended voting subset of the American public - and you will see why it worked so great back then and not so great now.

      As for the real topic ... it sounds to me not that you want to write code on your PocketPC, but that you want to -compile- and -debug- C++ code on your PocketPC. If you just want to write C++ code on th
  • by embobo ( 1520 ) on Friday April 25, 2003 @05:05PM (#5811668) Homepage

    I'm not sure what you mean by "program."

    However, you may wish to go PocketPC's Open Source Portal [palmopensource.com]. There you can get gcc (which includes g++ I suspect) or vim.

  • Any text editor will due.
    If you want to compile. you're probably out of luck.

Quantity is no substitute for quality, but its the only one we've got.

Working...