Forum

Post 14.02.2016   # 1
Subject New programming language versions (java 1.8, c++11)

For quite some time Java 1.6 was used in the compilation system. I see here http://codefu.mk/howtoprogramminglanguages.html that you updated the compilers.

Not long ago i switched to C++ and I just tried compiling some c++11 code in the practice arena, but it does not seem to work.

Is the command line parametar -std=g++11 specified?

zigfrid is offline Reply
Post 17.02.2016   # 2

I have a problem too, with Java. I get compile errors on some test cases, but it works on other test cases. This has been fixed for the last contest, but it still appears in practice.

despotovski01 is offline Reply
Post 28.02.2016   # 3

Can you post the code that is causing problems?

I'll investigate it afterwards.

hsilomedus is offline Reply
Post 29.02.2016   # 4

http://ideone.com/RNSfcy

This has some c++ 11 features. It should be compiled with additional compiler flag.

gcc -std=c++11 file.cpp ....

or

gcc -std=gnu++11 file.cpp ....
zigfrid is offline Reply

Please login to post reply.