use Html code in C++ programming...

Azar's Avatar, Join Date: Jul 2010
Newbie Member
I have a program sourced with C++
and used HTML code from External codes...
I wanna use it this HTML codes in the C++ program...
Does anybody know how can I do?!
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
In what sense? You can't write HTML code and C together in the same file. But if you mean can you generate HTML from C...yes, that's very easy:
Code:
printf("<html>");
which I think is pretty much what Apache does.
Azar like this
0
Azar's Avatar, Join Date: Jul 2010
Newbie Member
thanks xpi0t0s for ur reply ....
my question is about "Pandion Software"
it's an open sourced program and coded by C++ and HTML....
and used HTML code from external file...
when download Pandion.exe use HTMLs too
I wanna have just an exe file without the HTML code in Single file ...,
How Can I?
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
It may not be possible. The application may require by design to have the HTML in separate files. Best people to ask about that would be the authors of the software.

But why don't you want to use the software as it is designed?
0
Azar's Avatar, Join Date: Jul 2010
Newbie Member
This is a messenger program...
same as yahoo messenger...
when you download yahoo messenger just have an exe file for install & u couldn't change the source code...
I wanna use this messenger for my site & don't wanna chance anyone to change the source...
& HTML files can be change by users!