Scripts posted recently tagged to C in Kelpi

1- 9 of 9.

C code to look if the iface is up, using MII.

to C MII interface by jonbaine

/*

    This program is free software; you can redistribute it
    and/or modify it under the terms of the GNU General Public
    License as published by the Free Software Foundation.

Obfuscated C Code

to obfuscated c by franklin

/* $Id: mkentry.c,v 1.3 2004/01/27 06:53:08 chongo Exp $ */
/*
 * Copyright (c) Leonid A. Broukhis, Simon Cooper, Landon Curt Noll and
 * Peter Seebach, 2004.
 *

Simple windows form example

to c c# by lovelace

[assembly: System.Reflection.AssemblyVersion("1.0.*")]
namespace MyNamespace
{
    public class MyForm : System.Windows.Forms.Form
    {

Queue as a linked list

to c c++ queues by nando.quintana

//
//   This file contains the C++ code from Program 6.18 of
//   "Data Structures and Algorithms
//    with Object-Oriented Design Patterns in C++"
//   by Bruno R. Preiss.

Hello World in C for Curses

to c curses hello-world by nando.quintana

/* Hello World in C for Curses */

#include <curses.h>
main()
{

Hello World in Ansi C

to c ansi-c hello-world by nando.quintana

/* http://www.roesler-ac.de/wolfram/hello.htm#C-ANSI */
/* Hello World in C, Ansi-style */

#include <stdio.h>
#include <stdlib.h>

Multi-language hello world

to c c++ bash perl tcl perl4 perl5 hello-world by nando.quintana

#define NAME			hello.c
#define DESCRIP 		many languages at once (tcl, perl 4 & 5, sh, C) http://www.ee.ryerson.ca/~elf/hack/multilang.html
#define AUTHOR			Jeremy Dilatush
#define DATE			7/31/96
#define dummy \

Ejemplo de driver de dispositivo de caracteres

to C kernel LKM dispositivo by jonbaine

/**
*  Makefile Para compilar (el archivo se llama fente.c):
*
* obj-m := fente.o
* PWD    := $(shell pwd)

Un programa en c que se imprime a sí mismo

to c quine by nando.quintana

#include<stdio.h>
char*i="\\#include<stdio.h>",n='\n',q='"',*p=
"%s%cchar*i=%c%c%s%c,n='%cn',q='%c',*p=%c%c%s%c,*m=%c%c%s%c%c;%s%c",*m=
"int main(){return!printf(p,i+1,n,q,*i,i,q,*i,q,n,q,p,q,n,q,m,q,n,m,n);}"
;int main(){return!printf(p,i+1,n,q,*i,i,q,*i,q,n,q,p,q,n,q,m,q,n,m,n);}
hits counter