Just because you can do something does not make it a good idea. There's a reason why writing sites in C/C++ died out by 2000.