/* Will Greenhalgh 7.23.2003 */
/* Infinite loop */
#include <stdio.h>
int main(void)
{
for(;;)
{
fprintf(stdout,"Infinite loop\n");
}
return 0;
}
/* Infinite loop */
#include <stdio.h>
int main(void)
{
for(;;)
{
fprintf(stdout,"Infinite loop\n");
}
return 0;
}
by Will Greenhalgh July 23, 2003
by thug4life January 27, 2003
The most annoying line a beginner Java programmer has to type in each one of their programs. This is also the line where most n00bish typos appear.
Comparison of Java to QBASIC
Java:
public class PrintHi{
public static void main(String args){
System.out.println("Hi");
}
}
QBASIC:
?"Hi"
Hmm, 95 characters or 5? Tough choice.
Java:
public class PrintHi{
public static void main(String args){
System.out.println("Hi");
}
}
QBASIC:
?"Hi"
Hmm, 95 characters or 5? Tough choice.
by no_one_2000 February 22, 2005