通过程序生成HTML文件 [英] HTML file generation through program

查看:92
本文介绍了通过程序生成HTML文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用MFC编写的应用程序.经过一些计算,我必须将结果显示在html file.how如何通过程序生成HTML.

Hi, I have an application written in MFC.After some calculation i have to show the results in html file.how to generate a HTML through program .

推荐答案

建议您使用类似于Google的CTemplate这样的字符串模板库: http://code.google.com /p/google-ctemplate/ [^ ].我喜欢 StringTemplate库 [ ANTLR [
I''d advise you to use a string template library like CTemplate from google: http://code.google.com/p/google-ctemplate/[^]. I like the StringTemplate Library[^] best, but there is no MFC version for that. Originally it was developed in Java and runs parallel to the equally excellent ANTLR[^] project. There is a .NET port available for the StringTemplate Library as well as ANTLR.

Hope this was helpful to you.

Cheers!


这篇关于通过程序生成HTML文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆