Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C Programming Challenges

Name: Anonymous 2007-07-31 17:58 ID:hLhle83q

Anyone got a website which lists C programming challenges?

Name: Anonymous 2007-07-31 18:11 ID:Ce/8JyVR

>>1
Implement a Lisp

Name: Anonymous 2007-07-31 19:56 ID:yR4+g/rz

>>1
Not sure if this is what you're looking for, but this is the most respected programming contest: http://icfpc.plt-scheme.org/

Also, this is obligatory: http://www.ioccc.org/

Name: Anonymous 2007-07-31 21:01 ID:12FLQI4+

Try playing C-Golf

Name: Anonymous 2007-07-31 21:09 ID:uf43Uuac

4chan /prog/ programming challenge: hello world

Name: Anonymous 2007-07-31 21:14 ID:XUCyMBQ7

>>7
Dipshit

Name: Anonymous 2007-07-31 21:20 ID:Heaven

>>6
meme fag

Name: Anonymous 2007-07-31 21:33 ID:XUCyMBQ7

>>7
sage fag

Name: Anonymous 2007-07-31 22:09 ID:sU3s8SmV

Here is a challenge: someone post a C/C++ program that prints its own source code to the screen.

Name: Anonymous 2007-07-31 22:19 ID:Heaven

>>8
off topic fag

Name: Anonymous 2007-08-01 0:08 ID:Heaven

>>8
oh thats hard

#include <stdio.h>

int main(int argc, char **argv) {
    FILE *fp;
    int c;
    if(argv[0] == NULL) return -1; /* WAHCKY ! */
    fp = fopen(argv[0], "r");
    if(fp == NULL) return -1; /* WOOTZ */
    while((c = getc(fp)) != EOF) putc(c, stdout);
    fclose(fp);
    return 0;

Name: Anonymous 2007-08-01 0:08 ID:Heaven

>>11
i forgot a bracket btw

Name: Anonymous 2007-08-01 0:13 ID:YDt70GUI

>>9
fuck your quine fag

Name: Anonymous 2007-08-01 0:13 ID:Heaven

>>12
bracket fag

Name: Anonymous 2007-08-01 2:10 ID:h6WcAeTC

#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
                     using namespace std;
 
                     int main() {
                     cout << "#include <iostream>
                              using namespace std;
 
                              int main() {
                              cout << "#include <iostream>
                                       using namespace std;
 
                                       int main() {
                                       cout << "Ow Gawd!

Name: Anonymous 2007-08-01 7:15 ID:8C7xcOS0

>>9
$ touch main.c
$ gcc -o main main.c
$ ./main
$

Name: Anonymous 2007-08-01 7:30 ID:ynLwAd7j

#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {
            cout << "#include <iostream>
using namespace std;

int main() {
   cout << "#include <iostream>
            using namespace std;
 
            int main() {

Name: Anonymous 2007-08-01 8:34 ID:y+DF6+9D

>>16
I see what you did there.

Name: Anonymous 2007-08-01 17:52 ID:Heaven

the only challenge in c is to muster the motivation to write the shit. nothing's really "hard"

no, wait, the only "hard" part is to read the existing mountains of code you'll have to change. it sucks. c sucks. as do you

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List