Hi everybody,
Is it possible to run c++ console apps in webpages ? I know that its not possible, but is there a way to do that ?

Yes, if you control the server, you can.
You can call the executable from a CGI or ASP or other just as you would spawn any other executable.

You will need to adhere to the rules of the operating system for the given user account running under the server.

Ok thanks thines and moschops.

Another way is to use java applets with JNI. You can use JNI to access C++ functions and then you can use java to use applets to embed them on the web.