Commit 02167790 authored by Marcus M. Darden's avatar Marcus M. Darden
Browse files

Add a module for external functions.

parent 3c989a70
// functions.cpp
// The Makefile expects that the project solution has main() in a file
// named project*.cpp
// These functions are declared in functions.h and implemented in functions.cpp
#include <iostream>
using std::cout;
using std::endl;
#include "functions.h"
void calculate(int x, int y) {
cout << x << " + " << y << " = " << x + y << endl;
void calculate(int x, int y);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment