zzzcode.ai
zzzcode.ai copied to clipboard
Integrate site with a compiler
Suppose the user wants C code generated for a task. Ideally your site will be integrated with a compiler such as gcc, so that the code it generates is checked by a compiler before being shown to the users. If the code does not compiler, the error messages from gcc can be used to prompt ChatGPT to fix the code.
Once a compiler is integrated with the site, let the user run the programs within the site. Without AI, there are online sites that do this, such as https://www.onlinegdb.com/