-
C++ programs used in website
As my question will demonstrate, I am a C++ neophyte. But I’m working steadily at it and making progress.
My question is this: Can the programs I’m writing in C++ be used on a website? Or am I going to have to rewrite them in some sort of HTML?
For example, I've written a small program that permits a user to button-click and see various arrangements of notes on the guitar neck. Will that program "work" on a website?
I suspect the answer will be “yes, you can use the program on your website.”
If that is the case, could you give me some general guidelines about doing just that? Very general. I'm not asking for a step-by-step tutorial.
Surely it is not as simple as simply uploading the program to the webserver . . . or is it?
Thanks in advance for your patience and your advice, both past and present.
-
As far as I know no you will be able to use your C++ program on a website..
You will need to re write it in javascript or another web based language..
-
Hi,
You will not be able to use any C++ program directly from your website, you will have to resort to things like COM to wrap your program and then do ASP serverside calls to your component. You can do Clientside calls as well I believe, if you force the user to download your component, but that is, apart from being dangerous for your user (security), also slow and highly platform dependable.
Button press event handlers etc are comparatively easy to implement in HTML/JavaScript so I wouldn't bother putting THEM in a component. Just put the more involved stuff there...
First of all if I were you I would make myself acquainted with COM and ATL (ActiveX Template Library). There's a lot of stuff on MSDN and quite a chunk to read. If you are working on Unix or Apple I am afraid I can't recommend anything. Probably Java-Applets/Beans is the answer?!
Rgds,
D
-
Web sites require HTML or some other scripting language, but usually you also have an engine written in C/C++ etc. The simlest form of using C++ in a Web site is cgi. More advanced techqniues use COM, CORBA and the likes. The bottom line is that you need to know both C++ and HTML.
Danny Kalev
Similar Threads
-
Replies: 1
Last Post: 11-28-2002, 03:10 AM
-
Replies: 0
Last Post: 10-16-2002, 10:16 AM
-
Replies: 0
Last Post: 10-16-2002, 10:11 AM
-
By john moyers M.D., PhD in forum Web
Replies: 0
Last Post: 06-04-2002, 09:12 AM
-
Replies: 3
Last Post: 03-07-2001, 10:22 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks