sync
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "calculations.h"
|
||||
#include <stddef.h>
|
||||
|
||||
int swap(int* getal1, int* getal2)
|
||||
{
|
||||
if(getal1 == NULL || getal2==NULL)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
//TODO insert code here
|
||||
|
||||
return -1;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef CALCULATIONS_H
|
||||
#define CALCULATIONS_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// return
|
||||
// 0 : swap gelukt
|
||||
//-1 : fout opgtreden
|
||||
|
||||
int swap(int* getal1, int* getal2);
|
||||
|
||||
// 0 : GELUKT
|
||||
// -1 : er is iets mis gegaan
|
||||
int sort (int array[]);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user