Initial commit
This commit is contained in:
commit
b4c0b22597
104 changed files with 10100 additions and 0 deletions
27
sorting.c
Normal file
27
sorting.c
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
/*-----------------------------------------------------------------------------
|
||||
* HTBLA-Leonding / Class: <your class name here>
|
||||
*-----------------------------------------------------------------------------
|
||||
* Exercise Number: S07
|
||||
* Title: Sorting support functions
|
||||
* Author: */<your name>;/*
|
||||
*-----------------------------------------------------------------------------
|
||||
* Description:
|
||||
* Basic support functions for sorting
|
||||
*-----------------------------------------------------------------------------
|
||||
*/
|
||||
#include "sorting.h"
|
||||
|
||||
|
||||
/**
|
||||
* This file provides some basic functions for sorting and value initialization.
|
||||
*
|
||||
* Implementation hints:
|
||||
* Either list variant OR array variant of functions is required!
|
||||
*
|
||||
* init_random:
|
||||
* Randomizer functions are provided by `stdlib.h`
|
||||
*
|
||||
* The randomizer must be initialized via `srandom(time(NULL));` once before it is used
|
||||
* Generate random values via function `random()`
|
||||
* Limit random value to `MAX_VALUE` as defined in `config.h`
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue