mirror of
https://github.com/jeremysrand/abCalc.git
synced 2024-06-09 15:29:33 +00:00
29 lines
302 B
C
29 lines
302 B
C
/*
|
|
abCalcOpAdd.c
|
|
By: Jeremy Rand
|
|
*/
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "abCalcOpAdd.h"
|
|
#include "abCalcOp.h"
|
|
|
|
|
|
#define OP_NAME "+"
|
|
|
|
|
|
static void addExecute(void);
|
|
|
|
|
|
void abCalcOpAddInit(void)
|
|
{
|
|
abCalcOpRegister(OP_NAME, addExecute);
|
|
}
|
|
|
|
|
|
void addExecute(void)
|
|
{
|
|
printf("In add!\n");
|
|
}
|