Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. result file in HTML format

result file in HTML format

Scheduled Pinned Locked Moved C / C++ / MFC
c++htmltutorial
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    venkatmakam
    wrote on last edited by
    #1

    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.

    _ L H C 4 Replies Last reply
    0
    • V venkatmakam

      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.

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      Are you familiar with the html tags. If affirmative, you can use the tags and write them to the file alongwith the result. The html file can be opened in HTML view.

      I am a HUMAN. I have that keyword in my name........ ;-)_AnsHUMAN_

      1 Reply Last reply
      0
      • V venkatmakam

        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.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Try one of the MFC controls, perhaps one of these[^].

        I must get a clever new signature for 2011.

        1 Reply Last reply
        0
        • V venkatmakam

          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.

          H Offline
          H Offline
          Hans Dietrich
          wrote on last edited by
          #4

          Writing a HTML file just means that you have added HTML tags to a file containing text. Here is an example that will help get you started: XHtmlLog - Convert text log files to HTML[^]

          Best wishes, Hans


          [Hans Dietrich Software]

          1 Reply Last reply
          0
          • V venkatmakam

            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.

            C Offline
            C Offline
            Chris Losinger
            wrote on last edited by
            #5

            FILE *fp = fopen(filename, "w");
            fprintf(fp, "\n\n");
            fprintf(fp, all your data goes here);
            fprintf(fp, "<\body>\n");
            fclose(fp);

            image processing toolkits | batch image processing

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups