Programming EV3 with NXC
NXC compiles to machine code that runs in a virtual machine running on the NXT. The EV3 has a completely different virtual machine that is not compatible. So, of course programs compiled for the NXT will not run on the EV3.

The developer of NXC and BrixCC started working on support for the EV3 when it first came out, but has not been actively working on it for some time now. If you are interested, you can find more information at https://mindboards.org/ (search for "BrixCC EV3").

I you would like to use a text based language for the EV3, the most active projects are:


http://www.ev3dev.org
http://www.lejos.org
http://www.monobrick.dk
http://www.robotc.net