Test aritmetic function

This commit is contained in:
Julian LECLERC 2022-03-30 10:38:38 +02:00
parent 443de54368
commit 4522050237
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#include arithmetic.h
#include "arithmetic.h"
int add(int a, int b)
{

10
main.cpp Normal file
View File

@ -0,0 +1,10 @@
#include <iostream>
#include "arithmetic.h"
int main()
{
std::cout<<"Hello world!"<<std::endl;
std::cout<<"c="<<add(1,2)<<std::endl;
return 0;
}