Does anyone know of any C libraries to produce HTML output. In an ideal world it would be like the curses library but instead of producing terminal output it would produce HTML output.
Does anyone know of any C libraries to produce HTML output. In an ideal world it would be like the curses library but instead of producing terminal output it would produce HTML output.
you can do it yourself,
create a file as normal and ouput to it including the html tags, then save it with a .htm filename - !
simple - this works 0 i have done it before my self - so if you want an eg of source code just ask.
edit---
unless i misunderstood the question and you want to produce it on the screen....
__
Monday - what a way to spend a seventh of your life
If you have example code - excellent. It would get me started.
Thanks,
Ray
Please note this code has not been tested because I just reinstalled and my compiler hasn't been setup yet.Code:#include <stdio.h> int main( void ) { FILE *myhtmlfile = fopen("new.html", "w"); // open the file fprintf(myhtmlfile,"<HTML><BODY>\n"); fprintf(myhtmlfile,"<font size=\"5\">Hello, world</font></body></html>"); fclose(myhtmlfile); // close the file system("iexplore new.html"); // open internet explorer to test the page }
oh (sad disappointed face)
i was just about to post my code - ah well
if you still want it just let me know
Monday - what a way to spend a seventh of your life
Go on, post it, it's better, I know it. It might teach us something.
ok, i wrote this a full app for freeware release
ignore all the copyrigh bs, cut hack it eat whatever
Monday - what a way to spend a seventh of your life
Hehe, I'm working on a menu system for my maze game...it owns your menu system :P.
if you want the source for only the menu i can post that
Monday - what a way to spend a seventh of your life