Home
World Journal of Advanced Research and Reviews
International Journal with High Impact Factor for fast publication of Research and Review articles

Main navigation

  • Home
    • Journal Information
    • Abstracting and Indexing
    • Editorial Board Members
    • Reviewer Panel
    • Journal Policies
    • WJARR CrossMark Policy
    • Publication Ethics
    • Instructions for Authors
    • Article processing fee
    • Track Manuscript Status
    • Get Publication Certificate
    • Current Issue
    • Issue in Progress
    • Past Issues
    • Become a Reviewer panel member
    • Join as Editorial Board Member
  • Contact us
  • Downloads

eISSN: 2581-9615 || CODEN (USA): WJARAI || Impact Factor: 8.2 || ISSN Approved Journal

Effective prompt engineering for generative AI in C++ programming tasks

Breadcrumb

  • Home

Ramona Markoska 1 * and Aleksandar Markoski 2

1 Department of Software Engineering and Information systems, Faculty of ICT, UKLO, Bitola, N. Macedonia.

2 Department of Intelligent Systems, Faculty of ICT, UKLO, Bitola, N. Macedonia.

Research Article

World Journal of Advanced Research and Reviews, 2025, 25(02), 1390-1397

Article DOI: 10.30574/wjarr.2025.25.2.0516

DOI url: https://doi.org/10.30574/wjarr.2025.25.2.0516

Received on 26 December 2024; revised on 11 February 2025; accepted on 14 February 2025

The rise of Generative AI, propelled by Large Language Models (LLMs), has opened new opportunities to streamline programming tasks across various domains. In C++ programming, renowned for its intricate syntax, memory management complexities, and performance-critical applications, Generative AI offers invaluable support for code generation, optimization, and debugging. However, the effectiveness and accuracy of these AI models rely heavily on the application of prompt engineering—a technique that involves crafting precise, contextually relevant queries to guide the AI's response.This paper delves into the methodology and best practices for effective prompt engineering within the context of a cloud-based C++ training ecosystem. Here, developers and students can leverage AI tools to enhance productivity and learning outcomes. By utilizing advanced AI models such as GPT-4 and Jdroid, integrated within JDoodle, the ecosystem offers an interactive platform for generating, analyzing, and refining C++ code in real time. The study emphasizes strategies for optimizing prompts, including specificity, task segmentation, and iterative refinement, to overcome common challenges in C++ programming. Furthermore, it evaluates the integration of prompt engineering techniques with the cloud C++ training ecosystem, highlighting the scalability and accessibility of this approach for educational purposes. The results demonstrate that well-structured prompts significantly improve the accuracy and relevance of AI-generated solutions, enabling users to tackle complex C++ problems with greater efficiency and reliability. This work lays the groundwork for advancing AI-driven programming methodologies and underscores the critical role of prompt engineering in maximizing the potential of Generative AI tools.

Prompt Engineering; Generative AI; LLMs; Cloud training ecosystem; C++

https://journalwjarr.com/sites/default/files/fulltext_pdf/WJARR-2025-0516.pdf

Preview Article PDF

Ramona Markoska and Aleksandar Markoski. Effective prompt engineering for generative AI in C++ programming tasks. World Journal of Advanced Research and Reviews, 2025, 25(02), 1390-1397. Article DOI: https://doi.org/10.30574/wjarr.2025.25.2.0516.

Copyright © 2025 Author(s) retain the copyright of this article. This article is published under the terms of the Creative Commons Attribution Liscense 4.0

Footer menu

  • Contact

Copyright © 2026 World Journal of Advanced Research and Reviews - All rights reserved

Developed & Designed by VS Infosolution