1
2
3
4
.section .data
output:
        .asciz "Max = %d \n"
...

C On Find the max

by Maciej Piechotka, July 03, 2008 20:41

May be something like that:...

1e8f141e7857d397d8020ed3b759e88a Talk
1
2
3
4
#include <math.h>

#define BASE 2
...

C On Quanti bit per rappresentar...

by Eineki, February 20, 2008 22:35

it:Il numero di cifre neces...

5a00a3a98dcf6f9cd717440fd2b606e5 Talk
1
2
3
#include <stdio.h>
...

C On Int or Double/Float ?

by Eineki, February 20, 2008 22:04

it: Il tuo codice distrugge...

5a00a3a98dcf6f9cd717440fd2b606e5 Talk
1
2
3
4
#include <stdio.h>

int main ()
...

C On Quanti bit per rappresentar...

by Vime, February 20, 2008 07:49

You want to check the numbe...

90ec841f866ac35c4ce90ee3cfffbdc3 Talk
1
2
3
4
typedef struct list list;
typedef struct list_entry list_entry;

...

C On Linked lists implementation

by chrome, January 15, 2008 11:47

You could save a lot of eff...

Avatar Talk

C On Character buffer manipulati...

by chrome, January 11, 2008 23:34

What a horribly contrived "...

Avatar Talk

C On Character buffer manipulati...

by Steve, December 19, 2007 15:38

buffer[i] = buffer[i] << 2 ...

Avatar Talk
1
2
3
4
const char *fgetLine( FILE* pFile )
{
   static size_t bufSize = 128;
...

C On Socket read line in C

by Steve, December 11, 2007 18:39

You might consider using a ...

Avatar Talk

C On Socket read line in C

by Casper, December 06, 2007 23:15 Star_fullStar_fullStar_fullStar_full

Several comments.

1: What ...

B849433e0e1a3f4ca0cf7cc55b8acd53 Talk
1
2
3
4
////////////

void push(stk *ptr, int *x) {                  //pushs a value to the top of the stack
...

C On Stack Implementation

by mangiucugna, December 04, 2007 13:27

Some comments on the pop an...

1af7430e35cbff92c57088fd11891234 Talk
1
2
3
4
#include <stdio.h>

#include <stdlib.h>                             //for the system() and exit() functions
...

C On Stack Implementation

by St0rM, November 11, 2007 08:41

good code BUT ,
1- you are ...

B34ae582d2379d27a9380d357ccdb11a Talk

C On Stack Implementation

by X, November 08, 2007 22:50

another comment´s:
i prefe...

Edefc1908651fa6e00469bb973e0521c Talk

C On Character buffer manipulati...

by Steve, November 05, 2007 20:54

#define mBufferLen(buf) (si...

Avatar Talk

C On C simple loop

by Bisqwit, November 05, 2007 13:41

Oh, the IOCCC 2006 winner A...

22ca8e11d07e6333c5ce7a414d905dfc Talk

C On Stack Implementation

by jaredgrubb, November 03, 2007 04:48

A few comments: your push/p...

848e7681373328946b4b7ccb3a537627 Talk

C On Character buffer manipulati...

by jaredgrubb, October 29, 2007 15:44

A comment on Andy Lester's ...

848e7681373328946b4b7ccb3a537627 Talk

C On Character buffer manipulati...

by Mike, October 17, 2007 02:38

Thanks, engtech, that's exa...

A587929f80f37c163f855f5610f2aa0c Talk

C On Character buffer manipulati...

by engtech, October 17, 2007 01:51

if kSpace was supposed to b...

7bfd646dea8e47642bbb573f026bf159 Talk
1
2
3
4
#define kSpace 0x20

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

C On Character buffer manipulati...

by engtech, October 17, 2007 01:50 Star_fullStar_fullStar_fullStar_fullStar_full

Step #1: hex vs dec... what...

7bfd646dea8e47642bbb573f026bf159 Talk

C On Character buffer manipulati...

by Mike, October 15, 2007 11:12

Thanks for the "refactoring...

A587929f80f37c163f855f5610f2aa0c Talk

C On Character buffer manipulati...

by Nathan Sanders, October 15, 2007 01:52

Look at the definition of k...

52feb5a1f3175e3706444ca360fb1271 Talk

C On Character buffer manipulati...

by Andy Lester, October 14, 2007 17:00 Star_full

I suspect you don't really ...

D1588981e0248aaa0174906c99df180e Talk
1
void **node = malloc(sizeof(void *) * 3);  /* A new node */

C On Misbehaving global pointer

by Conrad, October 14, 2007 00:13

You are allocating the arra...

Avatar Talk

C On Misbehaving global pointer

by jonathantan86, October 13, 2007 23:26

Because L now points to a l...

Avatar Talk

C On simplest of mallocs examples

by matrixise, October 11, 2007 06:11

Can you use snprintf ?

8987d77750701f93bb78228c86d2c205 Talk