To All IT Gurus,
I am trying to execute 2 .C files in one project in Eclipse. I get error. So, for example, Let us say I have this below code.
Both files 1 and 2 are in the same project First C Project, Is this allowed.??
Project Name - First_C_Project
File 1 = Example.C
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
int main(void) {
printf ("C Programming, This is my First C Program");
return EXIT_SUCCESS;
}
File 2: TestProgram.C
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
int main(void) {
printf ("This is a TEST C Program, Check it out. ");
return 0;
}
I created a new project with a File 2 C file. And that works. But why can't I put the 2 C files work within the same First_C_Project project ???