Home » Extra libraries, Code snippets, applications etc. » U++ and AI » upp-ultimate-ai-prompt: U++ A.I Session Cheat-Sheet (Single-page prompt + example pack teaching AI Sessions to write current U++ 2025.1 code.)
upp-ultimate-ai-prompt: U++ A.I Session Cheat-Sheet [message #61693] |
Mon, 02 June 2025 11:29  |
dodobar
Messages: 19 Registered: April 2023 Location: Germany
|
Promising Member |
|
|
If you ever asked an LLM to write U++ code and got 2012era snippets (or, worse, Qt leftovers) you'll know why I built this.
upp-ultimate-ai-prompt is a single markdown file that primes A.I develop sessions to "think in U++": camelCase conventions, the 2025.1 headers, `Vector` vs `Array`, new `Animate()` helpers--the works.
Drop it into the model's system-prompt, and its first answer "almost" compiles.
What's inside?
- A brief "conformity mandate" (naming, inlining, error-handling).
- Mini-tutorials on logging, streams, serialization, multithreading, containers and widgets.
- Ready-to-paste examples, each verified against *upp-win-179xx*.
- An examples folder where I keep tossing quick demos in.
Why bother?
U++ isn't exactly drowning in StackOverflow answers, so LLMs lean on old scraps. A curated prompt keeps them on-track and cuts the "compile-error ↔ fix prompt" ping-pong.
Where?
https://github.com/Trilec/upp-ultimate-ai-prompt - Fork away, PR typos, or just cherry-pick the snippets you need.
It'll probably evolve--or become obsolete, but right now it's a handy jump-start for anyone scripting U++ sessions with an AI co-pilots.
Feedback welcome!
[Updated on: Mon, 02 June 2025 11:31] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Sat Jun 07 13:07:49 CEST 2025
Total time taken to generate the page: 0.04078 seconds
|