cloudcoderdotorg / CloudCoder

A web-based programming exercise system.
GNU Affero General Public License v3.0
71 stars 60 forks source link

C/C++ - Can't use "iostream" #90

Closed dckoma closed 9 years ago

dckoma commented 9 years ago

I have succesfully installed the webapp/builder and everything works fine. But when I want to include the iostream lib there is the error note "Error compiling submission" after I press the Submit! button. "stdio.h" works fine.

katieirenec commented 9 years ago

Hi @dckoma! I was able to #include <iostream> without issue on my install of CloudCoder, for both CPLUSPLUS_FUNCTION and CPLUSCPLUSPROGRAM. Are you sure you're using the CPLUSPLUS* options instead of C_FUNCTION or C_PROGRAM?

Let me know and if you have any other info I'm happy to try to help.

dckoma commented 9 years ago

Hello @katieirenec
Yes I used the CPLUSPLUS_FUNCTION/PROGRAM. Don't know why it doesn't work. I set up a new virtual machine and however it works now.

Thank's anyways :)

katieirenec commented 9 years ago

Awesome! Glad it works :)