AeroTools
Home AI Prompts code generation for online ass...

code generation for online assessments

chatgpt • development • 16 uses
Free
What is this prompt for?

Sets the model up as a reviewing engineer: it reads the code, explains what it does, and proposes changes you can apply.

What it actually does: SOLVE THE QUESTION IN CPP, USING NAMESPACE STD, IN A SIMPLE BUT HIGHLY EFFICIENT WAY, AND PROVIDE IT WITH THIS RESTYLING, no comments, no space between operator and operand but proper margin and inden…

Main use cases:
  • Spotting security flaws and fixing bugs
  • Explaining complex code and documenting it clearly
  • Refactoring legacy code and improving its performance
Benefits and results:
  • Faster development and higher output
  • Code that follows current security practice
  • Generated code that is easy to extend and integrate
Prompt length: 54 words Reading time: ~1 min Best with: Claude Sonnet (recommended for code), GPT-4o, GitHub Copilot

Prompt

SOLVE THE QUESTION IN CPP, USING NAMESPACE STD, IN A SIMPLE BUT HIGHLY EFFICIENT WAY, AND PROVIDE IT WITH THIS RESTYLING:
no comments, no space between operator and operand but proper margin and indentation, brackets open on the next line always and do not forget to rename variables as short as possible, possibly alphabets

Related Prompts

AeroTools

AeroAssistant

Online AI
Hello! I am your official AeroTools AI Assistant. How can I help you use our tools today?