Hi Tommi, Thank you for replying! I sense Tntnet is extremely powerful once one understands how it works.
I sent the reply to Olaf before I say your response. I can see now that your suggestions make sense (I still have no clue about where the image is displayed in the page, but never mind that for now, it is probably in the HTML design). On 29. des. 2013 12:49, Tommi Mäkitalo wrote: > As a alternative you have a class, which generates the image data in the > output operator for std::ostream. But I'm sure that you know how to do that. Thanks for the tip. Yes, this is not so hard. The image is fundamentally a string of bytes (i.e. char) so writing those to a std::ostream makes sense. > One side note: you have to be careful with empty lines. You have to make > sure, your ecpp do not contain any empty lines outside the <%cpp> > section since it is written to the output stream and may corrupt your > image. But as a special feature of ecpp one line feed after the end tag > </%cpp> is not sent to the output stream. Should the generateImageData(); send a std::endl at the end of the image data? Do you mean empty lines *inside* the <%cpp> </%cpp> tags? I am going to try these things out in stages. Thanks for bearing with me! Best Regards Carsten Arnholm ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
