html + c++
i have made a simple program using shell
now can ne one convert it in c++ so that i can run it in the same way as i was running it using shell ie through apache shell script is #!/bin/bash echo "Content-type: text/html" echo "" echo <html><body bgcolor=green> hi man </body></html> #End of programme |
Yes, you can do this program in C usinfg the printf command. Here is how to do color with printf:
http://linuxgazette.net/issue65/padala.html ------------------------- Steve Stites |
hey this page was not helpful to me in ne way....
actually i wanted to link html page with c++ just like php and shell can neone tell how can i program this thing in c++... ( the same thing ) #!/bin/bash echo "Content-type: text/html" echo "" echo <html><body bgcolor=green> hi man </body></html> #End of programme |
Can you please stop talking sms-ish? This isn't yahoo groups or bebo.
When you say "link html page with c++ just like php and shell" are you trying to create dynamic HTML using C++, or just need some C++ code that outputs a static HTML page? Cheers, Tink |
ya i want to create a dynamic html page...that takes some input from the user and connect to database to further process the output and display the same on html page only ...
|
I've never used it, but have a look at Wt ... may do just what you're
after. If it's not to your liking, use http://freshmeat.net with its search-feature ... I'm sure I've seen other, similar projects there. Cheers, Tink |
All times are GMT -5. The time now is 03:02 PM. |