In Java I can have a main function in every class and just use the one I want. This is often useful because I can put test routines in the main function run that class specifically to test it.
In C, however, no two functions can have the same prototype, so there can be only one main in the whole project. I can rename individual mains, but then I have to tediously edit the names to run the file of interest.
Is there any way around this, so I can have multiple mains, or is that just not going to happen?