How to use HTML with Linux

I'm developing an application in C++ using Linux. I what to create some static web pages and in embedd in my app so I can control my app with web browser. Is there an HTML to C or C++ compiler for Linux. Is there some how to to explain?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

>Is there an HTML  C or C++ compiler for Linux
No. But why will not You put those htmls into separate files, and then (on request) You could simply read the file and print to stdout (std::cout)

It is not a good idea to embed static HTML page in C or any other language. If they are full HTML pages, it is better to redirect or print the page to browser as ravenpl has suggested. If they piece content in the HTML page, you could those parts in a lookup table or generate them dynamically.

In addition to what ravenpl suggests, I'd like to point your attention to that one:
HTML is not  a programming languages. So what you want to achieve have to be done differently.

Write you C stuff, write your frontend pages separatly, write the backend logic in whatever language you like if you insist you can use CGI scirpts written in C for that,

although it will be much easer to steel the logic with some "scritping language".

You could e.g wrap you C functions up for this script language and call your C via this scripting language then.

In fact what you like to do is Web-programming.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux OS Dev

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.