I have a main.c file compiled successfully with dependencies. The code of the main is:
#include "includer.h"
int main(int argc, char *argv[]){
int i;
printf("The value of argc is %d\n", argc);
/*if (argc>1){
printf("inside the if");
for (i = 1; i < argc; i++){
assembler(argv[i]);
}
}*/
printf("Now calling to testList");
testList();
/*printTable();*/
return 0;
}
This is what "includer.h" looks like:
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "functions.h"
#include "constants.h"
#include "datatypes.h"
When I run the main, I get the first printf on the screen, and then basically nothing happens, it looks as if it's running but it doesn't do anything, not even the second printf.
Can anyone point me to where the problem is, if there is one?