is there any c or c++ functions that will tell what OS is being used?
Ubuntu Desktop GCC/G++ Geany (for quick projects) Anjuta (for larger things)