Jump to content

C++?


Lonelydreamer

Recommended Posts

Somebody please correct me if I am wrong, but C++ is not a web development programming language. On the other hand, Perl can be used to develop scripts and programs for use on web pages.

 

However, on the positive side, while you may not be able to apply your C++ skills directly to web development, you will find that once you know one programming language, it is very easy to pick up other languages.

Link to comment
Share on other sites

Kasey, C and C++ can be used as web development languages :)

Actually, any language can be used for web development, as long as there's a way to make it interact with the web server. I don't know if TCH's servers are setup to allow C/C++ to run as CGI but it's just a matter of trying it out.

 

I don't know how to write a program to interact with the webserver though. I've used C/C++ for quite a few years but never for web development (I prefer PHP, without any doubt), so I don't know if you need to use some special functions or something like that. But this page seems to explain it well enough:

http://hjs.geol.uib.no/cplusplus/

 

Other than that, this Google search about "C++ CGI" has some more URLs.

 

Hope this helps :)

Link to comment
Share on other sites

I don't know if TCH's servers are setup to allow C/C++ to run as CGI but it's just a matter of trying it out.

If you have a working binary, we don't prevent you from using it, but we don't allow compiling nor shell access, so you can't compile it if you only have the source or need to recompile it for compatibility. You're generally better off sticking to interpreted languages like PHP and Perl for shared accounts for best compatability.

Link to comment
Share on other sites

Yes, I forgot to mention the fact that users are not allowed to use the compiler, thanks Mike :)

 

And yes, I agree that for web development, unless you're hosting your site in a dedicated server, it's better to use those languages :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...