Tuesday, July 14, 2009

How to invoke java method from c++?

How to invoke java method from c++ with JNA.

How to invoke java method from c++?
what??? you mean JNU?


try the java api page online
Reply:U can do the viceversa.............


How can i change a Java code to a C++ code ???

Just change the syntax. You most likely will have to rewrite it, unless you find a progam that can convert the syntax between languages.


Making a program that sends a text message. java/android/c#?

can anyone give me some sample code for sending a text message to a phone given a phone number as an argument in either java(j2me)/android or c#? I'm really curious.

Making a program that sends a text message. java/android/c#?
u cld take a look at this http://code.google.com/android/reference... (for android). Hope it helps.


Is Python better than java and c?

Look I wanna know is that is python more applicable than Java and C.Please support your answer with reasons.What would u recommend a newbie to start with which of the above language.





Also somewhere I heard that Python is a hacker's language.


Is it really true?Support ur answer with reasons.

Is Python better than java and c?
There is nothing you cant do in C. If you cant do in C probably you cant do. You can write Python and Java both in C and even C in C. Does that answer your question?


But the openness of C is sometimes a problem. Python, Java, Perl etc. just provide some more functioanlity which makes it handy.


So every language has its own up and down and its upto the user to find what suits best for you.


For a newbie C can be little cryptic. But as a newbie I started off with Basic.


I dont know what is hacker's language and how a language qualifies as hacker's language. But as I told If it can be done most likely it can be done in C.
Reply:I would not recommend you start programming with Python or Java. C is more difficult to start with, but the reward is that you will really understand what's going on. From there, you can very easily move to Java or Python. The same does not follow in reverse. And a good programmer will need to know more than one language, because different languages each have things they're better at, and are therefore better suited to different tasks.
Reply:I believe that Python is a scripting language, which is different than Java and C, which are compiled languages. The basic difference is that a scripting language consists of commands in plain text that are then processed by a scripting engine, whereas programs in languages like Java and C are converted to machine language.





Scripting languages are generally easier to learn than full-fledged programming languages, but you should probably start with Javascript rather than Python, as Javascript is more common and works in any web browser.





Between Python, Java, and C, I'd say start with Java--It's much easier to learn than C, and more common than Python.





I'm not so familiar with Python, but I believe it is often used as a sort of "glue language" that allows composite programming with other languages and platforms, so that aspect might make it good for hacking, but I don't really know much about that.
Reply:look, programming languages are made for programming.





how you are going to use it no one knows.





it is up to you.





there is nothing bad with all programming languages.





python is not the exception.

potential break up song

Java script? C++?

I have resently become interested in programming and I am a begginer. I cannot decide which language to start with. I am debating between c++ and Java script. can you do the same things on both (write programs, etc)?





Thanks!

Java script? C++?
Javascript is a lot easier than c++, but you cannot make 'programs' or .exe files with it, only files run with browsers such as IE, which is useful for webpage creation (possibly games) but not much more. with c++ you can do a lot more, but you will need a compiler like microsoft visual basic and lots of free time to make a good program.
Reply:C++ allows programmers to create desktop applications and Javascript is used in conjunction with HTML to create websites.





C++ is an extremely powerful language...I have taken a few classes in C++ and after gaining a good background in that I have found it quite easy to pick-up other programming languages. If you are taking classes for either language then I would suggest C++. However, if you are trying to teach your self it might be a little harder to pick-up some concepts without some actual training. I would then suggest an easier language, something like VB is very easy to pick-up on and easy to use.





Here are some C++ tutorial sites to help get you started:


www.cplusplus.com/doc/tutorial/


www.intap.net/~drw/cpp


www.cprogramming.com/tutorial.html


www.cs.wustl.edu/~schmidt/C++/





Here are some VB tutorials:


www.vbtutor.net/vbtutor.html


www.imt.net/~joe/matt/program/vb/Tutor...


www.profsr.com/vb/vbintro.htm


cuinl.tripod.com/tutorials.htm





And here is a site for Python:





www.python.org
Reply:Start with C++ is is the bases for the language of Java, start with the book C++ for dummies No don't do python


Comparasion of java and c++?

What is a comparison of java with C++. In this comparison you will present the advantages of java over C++ and any draw back of Java against C++.

Comparasion of java and c++?
While the syntax is slightly similar; Java requires a virtual machine process to translate to the machine code required by the computer. C++ is compiled down to machine code and doesn't require a VM, but has to be built for the target machine. Java is more portable, but requires the pre-installation of the VM. C++, the code is portable, but the built module is not. I could go on for days and days, but those are the most basic.
Reply:http://java.ittoolbox.com/documents/acad...





http://www.objectmentor.com/resources/ar...





http://www.javacoffeebreak.com/articles/...





http://cs.edcc.edu/java_or_cpp.htm
Reply:Isn't C++ a programming tool. Java is scripting that you need to play games, etc. ?? Not saying I know for sure. Like comparing apples to oranges?


I'm new in programming. In your opinion, Should i choose to learn C++ Programming or Java Programming??

I have just started in learning programming. . In your opinion, Should i choose to learn C++ Programming or Java Programming??

I'm new in programming. In your opinion, Should i choose to learn C++ Programming or Java Programming??
I'd say learn java first because it's more fun; making cool stuff like windows and GUIs is easier.





Personally I learned C++ first (terminal only, then I went to Java). Both are very similar so if you learn one you won't have problems learning the other.
Reply:Learning a language isn't learning programming. Learn programming first (Wirth's "Algorithms + Data Structures = Programs" is a good place to start), then start learning languages.
Reply:Its really a choice between Bad and Worse if you're a new programmer. I would recommend starting with something like Python. But if you absolutely must pick between the two, Java is a much better choice. C++ is a very difficult and bad language for a huge number of reasons.
Reply:id learn something easy like PHP first before going to that stuff. well im a web designer so of course im going to say that, so if i have to choose 1 out of those 2 id definetly choose c++
Reply:What makes C++ interesting is because of its complexity and attention to details which you will not find with other languages like Java. If all programming languages are no sweat then do you think being a programmer is still a worthy job? Besides, if you learn C++ you will be surprised how easily you can learn Java since it was derived from it.
Reply:It really depends on what you plan on programming. Java is generally used more for web based applications. C++ is generally used more for stand-alone applications.
Reply:Both will help you learn object oriented programming, it really is the standard type of languages. Once you learn the concepts of object oriented programming, it'll be easy to pick up other object oriented languages.