Skip to content

Instantly share code, notes, and snippets.

View lumaxis's full-sized avatar

Lukas Spieß lumaxis

View GitHub Profile
@lumaxis
lumaxis / gist:1691199
Created January 27, 2012 22:11
Verkettete Liste
#include <stdio.h>
#include <stdlib.h>
struct IntKnotenStruct {
int data;
struct IntKnotenStruct *next;
struct IntKnotenStruct *prev;
};
typedef struct IntKnotenStruct IntKnoten;
@lumaxis
lumaxis / A9.c
Created January 26, 2012 17:59
Mittelwert beliebig vieler Zahlen
#include "stdio.h"
#include "stdlib.h"
void inputNumbers(int *size, double **numbers){
int i;
/* Abfrage nach Anzahl der Zahlen */
printf("Anzahl der zu speichernden Zahlen:\n");
scanf("%d", size);