Click here to Skip to main content
15,789,698 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
how to display the output of a c++ code in a html page?
Updated 13-Apr-21 13:53pm
Sergey Alexandrovich Kryukov 25-Mar-15 2:27am    
What have you tried so far?
Member 11551399 25-Mar-15 2:35am    
i want to print the output of my project in a manner that it displays the final result in a html page. please tell me how to do this?
Sergey Alexandrovich Kryukov 25-Mar-15 2:49am    
What's the problem? Writing strings?
Member 11551399 25-Mar-15 9:57am    
i have developed a simple program 'railway reservation system using c++....
then i want the final details of the reservation will be displayed on a html page which i can access through c++ command.

Sergey Alexandrovich Kryukov 26-Mar-15 10:01am    
No need to repeat what I already could read.
Please don't re-post and don't ignore the questions we ask.

If you want the cpp code to run on a web server then look into "CGI" (common gateway interface) or "ISAPI". If your simply trying to generate HTML pages then create a file and write the HTML.

good luck man.
Share this answer
there are a number of ways - just search[^]

The first link outlines a number of libraries

I use IHTMLDocument2[^] for a variety of reasons - i wouldn't recommend it for what you're doing
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900