如何在html页面中显示c ++代码的输出? [英] how to display the output of a c++ code in a html page?
本文介绍了如何在html页面中显示c ++代码的输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Quote:如何在html页面中显示c ++代码的输出?
解决方案
如果您希望cpp代码在Web服务器上运行,那么请查看CGI(通用网关接口)或ISAPI。如果您只是尝试生成HTML页面然后创建一个文件并编写HTML。
祝你好运。
有有很多方法 - 只需搜索 [ ^ ]
第一个链接概述了许多库
我使用IHTMLDocument2 [ ^ ]由于各种原因 - 我不会推荐它用于你正在做的事情
Quote:how to display the output of a c++ code in a html page?
解决方案
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.
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
这篇关于如何在html页面中显示c ++代码的输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文