1
2
3
4
/*
 *		Progetto di Grafica 2008 - Gnesa Gianni (Gnix)
 *
...

C Chair

by Gnix, May 02, 2008 10:08, No refactoring

This code draw a chair and ...

077b12f1039dceb830c2b83be8dcbd1b Talk
1
2
3
4
#
# Max
# by Gnix <gnixmail@gmail.com>
...

C Find the max

by Gnix, March 16, 2008 22:01, 2 refactorings

Simple max() in Assembly

077b12f1039dceb830c2b83be8dcbd1b Talk
1
2
3
4
#include <stdio.h>
#include <sys/types.h>

...

C PPM Generator

by Gnix, March 16, 2008 20:47, No refactoring

This code show how is possi...

077b12f1039dceb830c2b83be8dcbd1b Talk
1
2
3
4
/*
 * Sniffer base
 * by Gnix <gnixmail@gmail.com>
...

C Sniffer base

by Gnix, March 16, 2008 21:13, No refactoring

An example of sniffer that ...

077b12f1039dceb830c2b83be8dcbd1b Talk
1
2
3
4
#include <stdio.h>
#include <math.h>
int main ()
...

C Quanti bit per rappresentar...

by Tanino Rulez, February 20, 2008 00:16, 2 refactorings, tagged with int, integer, bit

Dato un intero,determinare ...

D8e099f752011ec60e809a733ef32a7e Talk
1
2
3
4
#include <stdio.h>
int main ()
{
...

C Int or Double/Float ?

by Tanino Rulez, February 20, 2008 00:11, 1 refactoring, tagged with c, int, double, float

Dato un numero,restituisce ...

D8e099f752011ec60e809a733ef32a7e Talk
1
2
3
4
.section .text
.globl _start
_start:
...

C Il programma più piccolo in...

by Gnix, February 19, 2008 22:46, No refactoring

Il programma più piccolo in...

077b12f1039dceb830c2b83be8dcbd1b Talk
1
2
3
4
#ifndef _LINKED_LIST_H_
#define _LINKED_LIST_H_
#include "common.h"
...

C Linked lists implementation

by mr_H, January 12, 2008 02:07, 1 refactoring, tagged with list linked llist double linked c ansi

Hello, im not sure whether ...

0628c38e469659bbefa57bae9bc7a4c2 Talk
1
2
3
4
int socket_read_line_alloc(int sock, char** out) {
        /* current buffer size */
        unsigned int size = 128;
...

C Socket read line in C

by bugmenot2.myopenid.com, December 06, 2007 22:13, 2 refactorings, tagged with c, sockets

I don't like the char** out...

Avatar Talk
1
2
3
4
/*
 *      Stack.c
 *
...

C Stack Implementation

by TiKoZ, November 01, 2007 08:58, 4 refactorings, tagged with Stack, Data, Structures

My first attempt to data st...

2e8c46a2a3227237d3305ebf7d68212d Talk
1
2
3
4
#define kSpace 032

char buf[] = {0x42, 0x73, 0x75, 0x27, 0x13, 0x1C, 0x68, 0x1B, 0x64};
...

C Character buffer manipulati...

by Mike, October 14, 2007 02:17, 10 refactorings

Hi All,

I was given this...

A587929f80f37c163f855f5610f2aa0c Talk
1
2
3
4
/* Linked list that emulates a hash map */
# include <stdlib.h>
# include <stdio.h>
...

C Misbehaving global pointer

by getopenid.com/ptn, October 13, 2007 17:55, 2 refactorings

I was in the middle of this...

Avatar Talk
1
2
3
4
vector<Service*> services;
....
....
...

C pointor of vector problem

by guzi5618.myopenid.com, October 09, 2007 12:46, 1 refactoring

Here is my code. I would li...

7028aa63f9eb59a6dea6f04f034a732c Talk
1
2
3
4
/* Transforms a number to a string
 * e.g 1234 => "1234"
 *
...

C simplest of mallocs examples

by getopenid.com/ptn, October 02, 2007 20:24, 5 refactorings

Practising for my test tomo...

Avatar Talk
1
2
3
4
_=0;c(q){q<0?putchar("`',)( \n-\\_/"[q+11]):c(("#"
"CB#_,ab:@BbBXb\\bG]N_2JNH4`X:.MRLA,aA(J`)BFRTBRL"
"'####_SJ[0RJbb\\R]N=5,64XMMR976Hb\\QLARZ[O-TZ[RT"
...

C C simple loop

by Andy Sloane, September 27, 2007 17:52, 15 refactorings

How to make this shorter ?

Ee9108fb0f4a69c57042c47afa0d18ac Talk