As well as the C/C++ interpreters I've mentioned in the past there is another way to
compile and run a C or C++ program. Just visit the website codepad.org, select C or C++, paste in your code and click a button. There are eight other programming languages available as well, including D which I mentioned not so long ago. You can view what other people are trying out and there's a lot of C in that list!. Hopefully that's because of the language's popularity and not just because it's the first language alphabetically available!
Codepad is the brain child of Steven Hazel and he's quite keen to see if you can break the system. It uses the free public domain Geordi IRC bot to compile and run C/C++. I can't see it replacing compilers any day soon but if you just want to try something out quick, it doesn't get much easier than this!
- Link to C Programming Tutorials
- Link to Link to C++ Tutorials

know of anything like this for C#?
Already broken.
Says that “undefined reference to `main’” EVERYTIME. My code is a printf “Hello World!\n”; program and before that line is the int main().
No problems, but won’t even run that.
Not sure what problems klein (above) had back in ’08, but it clearly works now.
..and is still very much alive and working in 2010.
Works well, but I still need an online C# compiler :/
Well there’s http://compilr.com/ which does C#.Net, Java, VB;
David
About C,C++ and C#
Something to point out; compilr can’t actually compile. You can only write programs, but you can’t compile.
You are registered and logged in?
David
the input for the c programs is not available in the codepad
How to provide an input at the run time in codepad…
I did not find any option..
scanf command doesnt work. how do u provide runtime input?
hey, can sum1 pls help me with this code? its supposed to display the decimal equivalent of a binary number
please help me m doing an online c compiler application…
But i don’t know what technologies required for that?
If any one knows any thing related to this please do post on this
expected declaration or statement at end of input
What does this error mean??….I have no other syntax erreors in my code and I don’t understand why I can’t run it.
Most likely it means you’ve left out a closing brace or possibly a semi-colon somewhere. Without seeing the source code, it’s impossible to guess any more.
David
About C,C++ and C#
yeah. not working. have no idea what to do. what’s wrong with this?
Where is the site where you can paste in a C++ code and get it complied?
#define MAN(x,y) (x)>(y)?(x):(y)
main()
{
int i=10,j=9,k=0;
k=MAN(i++,j++);
printf(“%d %d %d”,i,j,k);
}
please explain the output of this program
output is : 12 10 11
and also in 2012
what is the difference between i++ and ++i in for loop
for ex:
for(i=0;i<=num;++i)
and for (i=0;i<=num;i++)
None. Try this short program and see.
#include
int main(int argc, char * argv[])
{
int i;
for (i=0;i< 10;i++) {
printf ("i= %d\n\r",i);}
for (i=0;i< 10;++i) {
printf ("i= %d\n\r",i);
}
return 0;
}
David
About C,C++, C# and Go