Calling C from within a csh script

After I compile a C program, when I run it from a C shell script, it does not print out the results.

e.g:
myCFile.c: main(){printf("Hey");}

myCshScript: myCFile

This does not output "Hey" to the terminal window. I am not even sure if it is executed or not.

What should I do to see the results? I also redirected the output of the C file to a text file (myCFile > result.txt) but no results, even the text file isn't created.

Any help is appreciated.
Thanks,
Baris

Try:
myCFile.c: main(){printf("Hey\n");}

Thanks for the response.

It seems that the problem was that I was calling the script in a wrong way from the terminal:

I was doing: % myCshScript instead of % ./myCshScript

This solves the problem..