// Addition
#include <windows.h>
#include <stdio.h>
#include "test4.h"
int main()
{
int a, b, c;
printf("\n Input a: ");
scanf("%d", &a);
printf("\n Input b: ");
scanf("%d", &b);
c = addition(a, b);
printf("\n\n The result is: %d", c);
return 0;
}
I use code::blocks and I did link the .a library in the cmpiler settings but that doesn't work.
It gives me 1 error "test4: No such file or directory.
Maybe I didn't link correctly the librarie?
Please help me..
Dohh... @!@.. I really need to take a brake.. That looks like lack of sleep.. I can't even spell correctly dllimport, and I was having even an Warning:
dllinport attribute directive ignored
<-- and I didn't even read that misspell.. What to say I am a big mess....