1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

use Html code in C++ programming...

Discussion in 'C++' started by Azar, Jul 21, 2010.

  1. Azar

    Azar New Member

    Joined:
    Jul 21, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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?!
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    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.
     
  3. Azar

    Azar New Member

    Joined:
    Jul 21, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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?
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    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?
     
  5. Azar

    Azar New Member

    Joined:
    Jul 21, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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!
     

Share This Page