Need Help on creating a Proj on Dev C++
can anyone tell me how to create a project in dev c++ and make it work?? i have 2 simple files that ive created and put in a project but i just cant get it to work . . any help is appreciated .. thanx
here's the 2 files :
file a:
Code:
#include <stdio.h>
int p(void)
int q(void)
main()
{
int k;
k = p();
printf("%d", k);
k = q();
printf("%d", k);
return EXIT_SUCCESS;
}
int count = 0;
int p(void)
{
count++;
return count;
}
file b:
Code:
int q(void)
{
extern int count;
count += 5;
return count;
}