User Guide For Eros Milestone 4

Preparations:

Download Eros M4 binary package,there will be two files, put jinc.dll into Windows/system32,and set jinc.jar as a library for your class.

Demo 1:

Use "scanf" for format input,while Java hava no format input mechanism.

eros_m4_scanf

Run result:

eros_m4_scanf_r

Demo 2:

Use "fopen" to open a local file and read it's content,then print.

eros_m4_file

Run result:

eros_m4_file_r

Demo 3:

Use "time","localtime","strftime"to get current time and covert to localtime then format output the time.

eros_m4_time

Run result:

eros_m4_time_r

Demo 4:

Do you want Java can goto as C,jsut follow this.

eros_m4_goto

Run result:

eros_m4_goto_r

Supported Languages

cn mc kr us us us

Join FAQs