C++?

admin

Administrator
Staff member
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? <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif" /><!--content-->
Somebody please correct me if I am wrong, but C++ is not a web development programming language. On the other hand, Perl <i>can</i> be used to develop scripts and programs for use on web pages.<br /><br />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.<!--content-->
You might also look into php for a server side scripting language this very powerful.<!--content-->
Thanks! And I also know PHP already.<!--content-->
Kasey, C and C++ can be used as web development languages <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br />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.<br /><br />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:<br /><a href="http://hjs.geol.uib.no/cplusplus/" target="_blank">http://hjs.geol.uib.no/cplusplus/</a><br /><br />Other than that, this <a href="http://www.google.com/search?q=using+c%2B%2B+cgi" target="_blank">Google search about "C++ CGI"</a> has some more URLs.<br /><br />Hope this helps <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
<!--QuoteBegin-TCH-Raul+Aug 17 2004, 03:43 PM--><div class='quotetop'>QUOTE(TCH-Raul @ Aug 17 2004, 03:43 PM)</div><div class='quotemain'><!--QuoteEBegin-->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.<!--QuoteEnd--></div><!--QuoteEEnd--><br /> 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.<!--content-->
Yes, I forgot to mention the fact that users are not allowed to use the compiler, thanks Mike <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />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 <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
 
Back
Top