Questions tagged [online-compilation]

Convert source code to binary online.

Instead compiling code in local, through web browser or API, compile code and return binary executable. Also execute the code in remote machine and return the output of program.

50 questions
-2
votes
1 answer

Difference in C compilers

As per the link C Switch-case curly braces after every case , the below code should not compile since the variable is declared within switch without braces. case 2: int s = 0; printf("enter side value:"); …
lives
  • 1,243
  • 5
  • 25
  • 61
-2
votes
1 answer

Is this a glitch with online C compiler, gcc-7.2.0?

On an online C compiler called jdoodle, I tried this simple snippet below: #include #include int main(void) { double f = 1.2; //printf("%f\n", ceil(f)); printf("%f\n", ceil(1.2)); return 0; } It…
WedaPashi
  • 3,561
  • 26
  • 42
-3
votes
3 answers

Stack implementation shows blank array in codeblock but works fine in online compiler

I have a simple stack implementation. I want to show the stack before pushing So If my stack size is 3, according to my implementation, it should print 0 0 0 But it is showing blank in codeblocks (version 20.03) but works fine in some online…
Frost
  • 91
  • 6
-4
votes
2 answers

How can compile I `.java file` in jsp?

Using java compiler API I want to compile a java file in jsp. I created a html file and using its textArea element I sent its text, which is expected to be code in java entered by user, to JSP on server and after collecting it in a string I made a…
sony
  • 375
  • 1
  • 6
  • 21
-4
votes
1 answer

compile code online for coding competitions

I want to conduct online coding competitions. For that I am developing a website. I have a webpage to take the code from user. Once the user has finished his coding, on submitting I want to send that code to some compiler to check the code. And I…
anilCSE
  • 2,461
  • 3
  • 23
  • 29
1 2 3
4