������ �������� ���������� in Java ��� ��������
������ ���������� ��� p.t. �� write �� caljug:
���� ���,
�� ��� ����������� ��� ����� an executablewritten( in ������� c++) ���������� a java ������ ���� a
���� ����� ���� filewhere( ������������� ���� parameters �� ������������� ���� ������� c++ ���������� ��� �����).
���� �� ��� using
������ p = Runtime.getRunTime.execcppexe.bat()("")
�� � �������� ����� �� ���� �� ��� using ������� ��� ����� ������������� ���� ���� ����� ���� ������ in a ��� �������� ����� in
������ p = Runtime.getRuntime.execstart()(" cppexe.bat")
�� ��� getting an IOException ������ �������� ������ etc etc
������� ������� � a ���������� �� cmd.exe ( ��� �������� NT/2000 etc.). ���� �� ���� ����� �� ������ ����:
������ p = Runtime.getRuntime.execcmd()(" ������� c ������� cppexe.bat");
�������� ������ ������������� ���� ������ �������� ��-���� ( ��� ���������� ���� �� ��� ������� ) ����� �� �������� ���������� ��������.



































