Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   use Html code in C++ programming... (http://www.go4expert.com/forums/html-code-cpp-programming-t22781/)

Azar 22Jul2010 02:49

use Html code in C++ programming...
 
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?!

xpi0t0s 22Jul2010 12:12

Re: use Html code in C++ programming...
 
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 22Jul2010 12:31

Re: use Html code in C++ programming...
 
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?

xpi0t0s 22Jul2010 14:03

Re: use Html code in C++ programming...
 
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?

Azar 23Jul2010 00:07

Re: use Html code in C++ programming...
 
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!


All times are GMT +5.5. The time now is 16:32.