/edx-io

I/O routines for programming courses by ITMO on the edX platform.

Primary LanguageJavaMIT LicenseMIT

edx-io

I/O routines for programming courses by ITMO on the edX platform.

These libraries support two courses:

The libraries are enough to read and write all types of data, which are necessary to solve all problems in these courses. Please file a bug report if you suspect that it is not true.

Please never submit the sources of these libraries along with your code. We have the latest versions of the libraries available in the testing system.

Library for Java, Scala and Kotlin

We have a single library for all languages based on Java Virtual Machine.

Go to the library

Download files:

  • EdxIO.java. Note that it should be in the package called mooc.

Library for C

This is the library for C.

Go to the library

Download files:

Library for C++

This is the library for C++, which is a thin wrapper of the library for C.

Go to the library

Download files:

Note: Visual C++ may be misleaded by the co-existing edx-io.c and edx-io.cpp, which will share the same object name. To make it happy, rename edx-io.cpp to edx-io-plus.cpp, for instance. Some versions would also miss the edx-io.c for linking, in which case it suffices to rename edx-io.c to edx-io.cpp.

Library for CPython and PyPy

This is the library for Python implementations (except Cython).

Go to the library

Download files:

Library for JavaScript

This is the library for JavaScript.

Go to the library

Download files: