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
    • Editorial Board Members
    • Reviewer Panel
    • Abstracting and Indexing
    • Journal Policies
    • Our CrossMark Policy
    • Publication Ethics
    • Issue in Progress
    • Current Issue
    • Past Issues
    • Instructions for Authors
    • Article processing fee
    • Track Manuscript Status
    • Get Publication Certificate
    • Join Editorial Board
    • Join Reviewer Panel
  • Contact us
  • Downloads

eISSN: 2581-9615 || CODEN: WJARAI || Impact Factor 8.2 ||  CrossRef DOI

Research and review articles are invited for publication in March 2026 (Volume 29, Issue 3) Submit manuscript

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

Breadcrumb

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

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://wjarr.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(2), 1390-1397. Article DOI: https://doi.org/10.30574/wjarr.2025.25.2.0516

Copyright © Author(s). All rights reserved. This article is published under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits use, sharing, adaptation, distribution, and reproduction in any medium or format, as long as appropriate credit is given to the original author(s) and source, a link to the license is provided, and any changes made are indicated.


All statements, opinions, and data contained in this publication are solely those of the individual author(s) and contributor(s). The journal, editors, reviewers, and publisher disclaim any responsibility or liability for the content, including accuracy, completeness, or any consequences arising from its use.

Get Certificates

Get Publication Certificate

Download LoA

Check Corssref DOI details

Issue details

Issue Cover Page

Editorial Board

Table of content

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

Developed & Designed by VS Infosolution