Lonelydreamer Posted August 17, 2004 Posted August 17, 2004 I've never tiried this before , mainly because i'm still learning C++, I was formerly learning C but I thought I would be better off learning C++ and Perl. So can I use my C++ scripts on tch? Quote
kaseytraeger Posted August 17, 2004 Posted August 17, 2004 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. Quote
TCH-Don Posted August 17, 2004 Posted August 17, 2004 You might also look into php for a server side scripting language this very powerful. Quote
Lonelydreamer Posted August 17, 2004 Author Posted August 17, 2004 Thanks! And I also know PHP already. Quote
borfast Posted August 17, 2004 Posted August 17, 2004 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 Quote
MikeJ Posted August 17, 2004 Posted August 17, 2004 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. Quote
borfast Posted August 17, 2004 Posted August 17, 2004 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.