English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I would like to find out which Programming language is easier to learn and most appropriate for programming a mobile microprocessor out of the following programming language: C, C++ , Java or Lego Java ; as I would require one of the language to programme my mobile robot.
Thanks

2007-02-23 20:10:16 · 12 answers · asked by IA 1 in Computers & Internet Programming & Design

12 answers

High level language are very easy not like machine language or assembly language.

2007-02-23 20:16:11 · answer #1 · answered by JayHawk 5 · 0 0

Among the ones you have listed, Java is the easiet one. I started with Pascal and then went on to learn C++. I learned C much later on and then Java. And from experience I can say that Java was easiest to learn because it doesn't get into many complicated things like pointers and memory cleanup from beginning.

I'm not familiar with mobile microprocessor programming so not sure which one is more powerful for that purpose. But you should find out whether you can do this using C# or VB.NET or something similar in .NET since these are the best programming tools available today that combine the best functionalities of C, C++, Java, etc. Good luck!

2007-02-24 12:08:17 · answer #2 · answered by Kanan 4 · 0 0

If you're programming a microcontroller, you'll have a hard time finding a Java runtime for a micro. They do exist, but are not common, and are typically found only on high-end micros like the DS80C400 from Maxim. C++ is also not typically found on micros.

Most micros are programmed in C or assembler. I would suggest C, since you can find compilers for most micros, usually available in a "lite" version from the micro manufacturer for free. There isn't much reason to program in assembler, unless you need to create a really tight, fast loop for some reason. In that case, I would still write the program in C, and use inline assembler code for the fast stuff.

If you're writing part of you application on a PC, then you're free to use any language, of course. Java or C++ are great choices. Java is easier to learn, since it will prevent you from making common mistakes that C/C++ would allow (for example, writing outside the bounds of an array).

Good luck!

2007-02-23 21:32:46 · answer #3 · answered by so far north 3 · 0 0

Well I feel that java is easier to program Mobile micro processor as It has J2ME and that has been written just for micro device programming.

It will make more sense programming in his though U can do it in C++ too.
GUd Lc BYe

2007-02-23 21:32:04 · answer #4 · answered by amit chat 2 · 0 0

For the purpose of programming a mobile robot, C is the only choice.

Had such thing back in college, it is either C or Assembly; the thing is an Intel 8051 Microcontroller.

2007-02-23 20:17:45 · answer #5 · answered by Andy T 7 · 3 0

Java of course. Then go to C and up to C++

2007-02-23 20:19:09 · answer #6 · answered by sadeyzluv 4 · 0 0

I am sure you can do this in C, C++ or Assembly (please get this confirmed). Given these choices I would choose C++ as it will teach you OOP (Object Orientated Programming) however C is easier.

2007-02-23 20:41:01 · answer #7 · answered by Siu02rk 3 · 0 0

C is probably the easiest but I don't know.
C++ is more advanced and better.
Java I find annoying.

I don't actually know how to script in these languages.

2007-02-23 20:13:29 · answer #8 · answered by Anonymous · 0 1

java

2007-02-23 20:14:54 · answer #9 · answered by Ashish 2 · 0 0

From your list, it is C that is best for your purpose.

2007-02-24 02:00:22 · answer #10 · answered by karu_malar 2 · 0 0

fedest.com, questions and answers