I have been writing some CGI scripts in C++, and I was wondering if anyone else has done the same? I have built a pretty decent sized library of functions I use a lot for formatting form inputs and such. The reason I chose C++ is because I'm so familiar with it. I was wondering if I should do myself a favor and learn a language a little more popular for CGI scripting. From what I know so far, perl or bash scripts wouldn't be as portable and reusable as c++ code would be. What is everyone's opinion on using C++ vs other languages like Perl or PHP
nanodano
0
Junior Poster in Training
Recommended Answers
Jump to PostI've done enough CGI with C and C++ to realize that they're very poor languages for it. Perl, or any language with powerful string handling capabilities, is much better suited to CGI.
Jump to Postc++ has strong string handling capabilities.
Jump to Post>c++ has strong string handling capabilities.
Bwahahahaha!
Jump to Post>Bwahahahaha!
What so funny _jsw? I thought c++ style strings had reasonably good string handling capabilities? :sad:
Or r u making a comparison of pearl's regex library?
All 14 Replies
Narue
5,707
Bad Cop
Team Colleague
iamthwee
Narue
5,707
Bad Cop
Team Colleague
iamthwee
Narue
5,707
Bad Cop
Team Colleague
iamthwee
Narue
5,707
Bad Cop
Team Colleague
iamthwee
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
iamthwee
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.