Online C compiler November 22, 2008
Posted by razasayed in Hacks, programming.Tags: compiler
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






And from where is the confidence that it’s not a malicious program?
/* 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;
}
SO
Hello
#include
int main()
{
printf(“Hello World!”);
return 0;
}
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
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
Embedding a virus in the output is a easy and sure way of infecting your computer.
#include
int main()
{
printf(”Hello World\n”); //prints “Hello World”
return 0;
}
ok thats cool. but its not very helpful. with a limit of 1000 characters, a simple program to open an empty window is over twice the limit in characters
/* 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;
}
it doesn’t work anymore
pls do u know any site where i can get a free online c++ compiler
my email ad is jedwin45@yahoo.com mail me if u know wher i can get a free online c++ compiler since i dont have a pc at the moment
Check out this url – http://www.botskool.com/online-compiler
Free C/C++ Compiler. You don’t need to download any exe after program has been compiled output is shown on webpage itself!
Hope this helps