Is it possible to program webpages using the C programming language? If so please state where if you know :)?
XD Kerr
2011-09-09 16:40:12 UTC
Also i want to start doing more programming at home are there any compilers that you all suggest for website design and programming?
Seven answers:
Ratchetr
2011-09-09 16:52:41 UTC
Possible? Yes, absolutely. Do a Google of "C CGI web programming"
Practical? No, not at all.
C is a very old, primitive language. The only real advantage it offers over more modern languages (including C++) is speed and low memory footprint. It's still a good language for small embedded systems, or specialized applications (like game engines) where that matters.
Raw speed and a low memory footprint just aren't important on a modern web server.
Yeah, you can do it. But for every dozen lines of code that you write, there will be a C# or PHP or Java developer that does the same thing in 1 line of code. You'll be working (at least) 12 times harder than you need to be.
So....not recommended.
Daniel B
2011-09-09 16:44:14 UTC
In theory you could use C as a server side web programming language, but you would still need to know at least HTML to anything useful. For a server side language more suited to the web you should look at PHP. No compiler is needed for web design since HTML isn't a compiled language.
samofcalifornia
2011-09-09 19:06:15 UTC
I am not familiar with Linux (Apache) servers and such. I assume that Apache has features similar to IIS in Windows.
You will be swimming upstream trying to use C for that. Most software is designed to be used by C++ or some other object-oriented langauge. As has been mentioned, there is something called CGI but it is old, inflexible, insecure and not even supported by most web sites due to security problems.
For Microsoft IIS web sites you can create an ISAPI Extension.
You can use Visual C++ 2010 Express and/or Visual Web Developer 2010 Express for free but I am not familair with Visual Web Developer so I am not sure which is best for you.
?
2016-10-21 12:13:17 UTC
in this worldwide each and every little thing is achieveable. See my expensive chum in case you opt to kill 500 those with one wood stick you're able to do it. in fact the way you utilize it extremely is significant. you ought to comprehend C as professional for that. You extra effective use linux platform or gcc so which you will get array of libraries. you ought to create demon you ought to shop tag checklist and create an excellent sceneio so as that it will throw HTML report to customer which would be generated dynamically by capacity of your clever C code. Make the code modular so as which you will reuse your applications for many comparable works. permit worldwide talk impossible you're able to make it achieveable terrific of success
Roger Mao
2011-09-09 16:42:55 UTC
Do you know html/css? Those are absolutely essential. C is not usually used for web design, you should learn html, css, javascript, php, mysql if you want to do web design.
anonymous
2011-09-09 16:41:36 UTC
No. Use a web language.
Palladini
2011-09-09 20:38:13 UTC
http://www.vodahost.com/
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.