| NEWS | | |  | | FORUMS | | |  | | FREEWARE | | |  | | ABOUT US | | |  | |
02-12-2007, 07:54 PM
|
#16 | | Registered User
Join Date: Feb 2007
Posts: 5
| vb would visual basics turn over to palm basic be a worth while to use for programming my palm? Im only a highschool senior learning visual basic and i already have c++ and visual c++ down, so do you think thats good? And using hotpaw basic to interperite it? Just wanted to know. |
| |
02-12-2007, 08:22 PM
|
#17 | | Now treo'd & still TX'ed
Join Date: Dec 2006 Location: NZ
Posts: 292
| Yeah I though I would have a crack at programming and more so specifically palm programming as I going to be learning it in uni this year so i thought i would learn at least something now so its easier when I come to it. I'm looking into c++ (for palm) and visual basic (got the software for it from MS  ) and using something like palm OS dev suite to make the prc's in the end when I get better at the language! But stick with c++ on windoze at the moment!
__________________
Zire 21 -> Zire 72 -> T|X +1Gb SD + 2GB Mini +2Gb sd plus usb (very useful!!) and now a Crimson treo 680 | Sweet As in NZ
|
| |
02-13-2007, 08:42 PM
|
#18 | | Registered User
Join Date: Feb 2007
Posts: 5
| ofcourse, i have c++ down as well as visual c++, and visual basic is at its learning stage in my mind.though i really don't like windows, i only use it because of my feild of programming and the languages i learn are c++ and vb. Not because i prefer it or anything, on this laptop i use it for that and aim, but my main os is either ubuntu, dsl, dreamlinux or something along the lines of suse or redhat, And well the ndis wrappers for linux aren't as lovable for my wireless card as i wish they were. I enjoy either a LILO or GRUB loader to give me either a choice between my windows os and my Linux os. "Linux=Love". I know palm has hotpawbasic and you can buy the software but im not into that at the moment. Another question, and im sure i could look into it my self but its better for a reliable source to be asked instead. Does microsoft visual studios 6.0 enterprise edition have any tools for .prc file creation or any palm programming software attachments or anything of that sort? Oh and if anyone knows a good CGI software for palm let me know, i would really like to find one similar to blender to take up my time. |
| |
02-14-2007, 01:07 PM
|
#19 | | Lifeflash'd and loving it
Join Date: Nov 2006 Location: Phoenix AZ US
Posts: 1,537
| My suggestion: get good at windows/ console programming first. It will make your life sooo much easier when you step over to palm. The console has maybe a 100 functions in the APi tops, while palm has... well alot.
Start with soemthing easy in C, OnBC, then move to PODS, then PRC_tools, then, if you are rich like everyone else here, go codewarrior.
JUst a thougght...
__________________
[b] /*PhreakOnALeash*/
Ryan Rix -- KDE Developer, HomePage |
| |
02-14-2007, 01:11 PM
|
#20 | | Registered User
Join Date: Feb 2007
Posts: 5
| i take it all of those languages sans c are different languages than i know as it is. What language is codewarrior based on if any, or is it an entire language itself. And where can i get information on learning these other languages for free if any.
__________________
http://i11.photobucket.com/albums/a197/Ryukotse14422/ava.jpg
Custom Signature i didn't feel like resizing *shrugs*
".......you should really put your pants back on"
-Ed
|
| |
02-14-2007, 01:15 PM
|
#21 | | Programmer by Grace
Join Date: Nov 2005
Posts: 1,318
| Codewarrior is C, as is PODS, PRC Tools, and OnboardC, they're all just different compilers.
Codewarrior is the best compiler, but it's 400 bucks.
__________________ Software Development Versions - here
developer AT programmerbygrace dot com
|
| |
02-14-2007, 01:19 PM
|
#22 | | Registered User
Join Date: Feb 2007
Posts: 5
| hmm, well i did use borland for c++ last year in ctec. It was such a pain but i got the hang of it so a compiler isn't much of an issue. And how different is the c from the newer c++ and the even new c#? And how can i learn the refrences of C for free? And again does anyone know if they ported blender or another cgi software to palm os?
__________________
http://i11.photobucket.com/albums/a197/Ryukotse14422/ava.jpg
Custom Signature i didn't feel like resizing *shrugs*
".......you should really put your pants back on"
-Ed
|
| |
02-14-2007, 01:22 PM
|
#23 | | Software engineer/hacker
Join Date: Jan 2004 Location: Silicon Valley, CA
Posts: 5,061
| learn c, it is the best for palmos: http://en.wikipedia.org/wiki/The_C_Programming_Language_(book)
__________________ Annoying me is NOT an approved way of encouraging me to produce software My software:PowerSDHC, PowerDrive, nuRom, UDMH, warpSpeed, PowerDiGi, brightnessFix, etc... Get it all here:http://www.PalmPowerups.com |
| |
02-14-2007, 01:25 PM
|
#24 | | Registered User
Join Date: Feb 2007
Posts: 5
| two more quick questions, does anyone know if those compilers were made for debian, or suse, and can i compile c in a c++ compiler for testing on windows before i port it over to the palmos?
__________________
http://i11.photobucket.com/albums/a197/Ryukotse14422/ava.jpg
Custom Signature i didn't feel like resizing *shrugs*
".......you should really put your pants back on"
-Ed
|
| |
02-14-2007, 01:46 PM
|
#25 | | Registered User
Join Date: Feb 2005 Location: SW, VA, USA
Posts: 937
| Some additional notes: - Codewarrior, PODS, and PRC tools can can do C and C++.
- OnBoard C can only do C.
- The Palm APIs are in C, thus callable from C, C++ and many other languages.
- Codewarrior was the official development platform for Palm OS development.
- PODS is now the official development platform for Palm OS development.
- Codewarrior was originally a Mac compiler and it still works best on a Mac.
- PODS, PRC tools and OnboardC are all free.
- However, OnboardC needs a resource editor. Last time I check it was integrated with RsrcEdit which is not free (shareware). However it is possible to use Bird, which is free.
- PODS is actually Eclipse with some configurations and additional tools to be an IDE around the PRC Tools compiler.
- PRC tools does work under Linux. It is actually just gcc built as a cross compiler with a few additional tools.
- Last I check PODS did not work under Linux, however since Eclipse does, and PRC Tools does I would expect one should be able to get it operational under Linux.
- Since Access is moving towards Linux, I would expect them to eventually release a Linux disptribution of PODS.
- You can test your applications on your desktop using the Palm OS Emulator or Palm OS Simulator.
- The Palm OS Emulator is available under Windows, Mac or Linux. Only supports Palm OS 1.0 through 4.X.
- The Palm OS Simulator is currently only available under Windows. Supports Palm OS 5.0 and above.
- It is possible to use gdb to debug applications on the Emulator.
|
| |
02-14-2007, 07:14 PM
|
#26 | | Registered User
Join Date: Oct 2003 Location: in the world...
Posts: 1,384
| Blender has not been ported to Palm.
__________________
_________________________
Thanks,
bh
CLIE TJ27, Tungsten E(1), TX, CLIE TH55/U
|
| |
02-14-2007, 08:04 PM
|
#27 | | Beta Tester
Join Date: Nov 2005 Location: Igloo
Posts: 2,377
| ANSI C is the original language, and is the successor to B (which is why it was called C). It has been a standard programming language since the mid 80's, although in some areas, Pascal was once more popular for hardware-ignorant programming (not necessarily hardware independant, but you don't need to know all the registers, etc. of the specific chips your device is using).
C++ is a pseudo-object-oriented wrapper around C. It's basically C with some extra libraries that make it function more like an object oriented language such as LISP. C code will compile with a C++aware compiler. C++ code won't compile with a standard C compiler.
C# is Microsoft's version of Java, and uses a similar syntax to C++, but compiles to bytecode that can run on a virtual machine.
ObjectiveC is a language built from the ground up to be object oriented, but holds on to the rules of ANSI C wherever possible.
A compiler takes code written in the language it compiles, and converts it into binary instructions for whatever hardware target it is designed to compile for. Compilers generally recognize various patterns in human written code and convert those patterns into optimized routines that work well on the target hardware. This means that different compilers will have different characteristics -- some will result in smaller file sizes, some will result in faster code execution, some will have better sanity checks (fewer compiled-in bugs, more checks for syntax related errors), etc. CodeWarrior was a compiler/development environment originally designed by a company called MetroWerks for the Macintosh computers running Motorola 680x0 CPUs, and competed with Apple's MPW-based compilers. When Palm came on the scene, CodeWarrior was already compiling C code for the Motorola 680x0 family of processors, so Metrowerks made a tweaked version that complied with Palm's OS APIs and libraries/headers.
PRC Tools has its roots in the gcc compiler, which is the Open Source (GNU) community's answer to the cc (short for c compiler) compiler originally written for AT&T Unix. This development was tweaked by volunteers to handle Palm's OS APIs and libraries/headers, similarly to what Metrowerks did with their Macintosh compiler.
The difference here is that Macs were designed around a GUI interface, and CodeWarrior reflects this. Until the advent of OS X and Apple's XCode IDE, CodeWarrior was the de facto standard environment because of the attention paid to user interface detail and the quirks of the Motorola chipset. GCC on the other hand is a command line toolset used by those who know their way around OS design; it has one purpose only, and that is to convert programming code to binary data. No editor, no automatic library linking, etc. That is all left up to the end user.
I think Potter handled the rest of the details 
__________________
My Palm family:
Palm T|X ~ Palm T|E ~ m130 ~ m125 ~ POSE
|
| |
02-14-2007, 08:16 PM
|
#28 | | Software engineer/hacker
Join Date: Jan 2004 Location: Silicon Valley, CA
Posts: 5,061
| C++ is truely object oriented, not pseudo, unless i misunderstood something?
__________________ Annoying me is NOT an approved way of encouraging me to produce software My software:PowerSDHC, PowerDrive, nuRom, UDMH, warpSpeed, PowerDiGi, brightnessFix, etc... Get it all here:http://www.PalmPowerups.com |
| |
02-15-2007, 02:58 AM
|
#29 | | Software engineer
Join Date: Jun 2006
Posts: 55
| "unless i misunderstood something?" C++ is just a hack to get c object oriented ... there are many things that let's many people say that c++ isn't a truely object language for example many people consider statically-typed language aren't full object oriented. But many other consider it like a real object oriented language ...
It s like the mac/pc debate ... A geek war ...
__________________
http://www.khertan.net
kLauncher a Today/Launcher for PalmOS
|
| |
02-15-2007, 01:00 PM
|
#30 | | Lifeflash'd and loving it
Join Date: Nov 2006 Location: Phoenix AZ US
Posts: 1,537
| PODS, PRC tools and OnboardC are all free.
However, OnboardC needs a resource editor. Last time I check it was integrated with RsrcEdit which is not free (shareware). However it is possible to use Bird, which is free.
There is a fix in the OBC UserGroups' file section/experimantal versions
__________________
[b] /*PhreakOnALeash*/
Ryan Rix -- KDE Developer, HomePage |
| | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:50 AM. | |