Tomorrow I have a test for a company. My files must be easy to compile with Coliru (web compiler) : http://coliru.stacked-crooked.com/
But here is my problem : "How do I use multiples files in Coliru ?" I read the Q&A but didn't succeed to do it.
Here is the program I wanted to test :
#include <stdlib.h>
#include <stdio.h>
//MyLibraries
#include "Addition.c"
int main(int argc, char * argv[])
{
Addition();
return EXIT_SUCCESS;
}
And this is my "Addition.c" file :
#include <stdio.h>
#include <stdlib.h>
void Addition(int a, int b);
void Addition(int a, int b)
{
printf("%d", (a + b));
}
If somebody can explain to me how to compile multiple files with Coliru, it'll be awesome. Thx