jump to navigation

Online C compiler November 22, 2008

Posted by razasayed in Hacks, programming.
Tags:
trackback

Sometime back i was at my friends place . He was preparing for some test and he showed me a complex looking C expression , and asked me what it would evaluate to . I told him what i thought would be the answer but anyways we needed to verify it .  He did not have a C compiler installed on his machine . But, luckily enough he did have an internet connection , and google came to the rescue .

There is an online C compiler available at http://www.delorie.com/djgpp/compile/ . It runs your program and gives the executable for download . Pretty cool and quite handy when we quickly need to check the output of some C program , but dont have access to a C compiler . Saves some time on downloading and installing one.

However, of course this wont work if you are using a GNU/Linux system, as the output is an exe . However, for those users gcc is just a synaptic away ;)

Comments»

1. 93973 - March 9, 2009

And from where is the confidence that it’s not a malicious program?

2. Anonymous - March 25, 2009

/* Author: Your name
Date: yyyy/mm/dd
Description:
Writes the words “Hello World” on the screen */

#include

int main()
{
printf(”Hello World\n”); //prints “Hello World”
return 0;
}

3. Anonymous - March 25, 2009

SO

4. Anonymous - March 31, 2009

Hello

5. Anonymous - April 16, 2009

#include

int main()
{
printf(”Hello World!”);
return 0;
}

6. ankit babbar - May 9, 2009

a C/C++ online compiler
It’s for free, no need to search for any compiler. Just come write your program and test it for fee

7. ankit babbar - May 9, 2009

botskool.com/online-compiler
a C/C++ online compiler
It’s for free, no need to search for any compiler. Just come write your program and test it for fee

8. Vineet Dwivedi - June 13, 2009

Embedding a virus in the output is a easy and sure way of infecting your computer.