I want to check to see if a computer has java version 1.4.1 or better installed on it. How can I do that from a C++ program? Is there a way to run the javac -version command from within a c program and check it's response?
I want to check to see if a computer has java version 1.4.1 or better installed on it. How can I do that from a C++ program? Is there a way to run the javac -version command from within a c program and check it's response?
When in doubt, empty your magazine - Murphy's Laws Of Combat #7
See my popen example
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.