Re: n00b question
Jay Sprenkle <[email protected]> Tue, 12 Jun 2012 10:18:33 -0500
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <CAG19Bi6xGnN8NGUmg=72xzxnidmT74AmREczHS9iUiWwBZWRcw@mail.gmail.com> |
--===============6607753005091393684== Content-Type: multipart/alternative; boundary=047d7b2edaa7d915ba04c247fada --047d7b2edaa7d915ba04c247fada Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I have not tried using Visual Studio with C/C++ since VC 6. Microsoft seems to be pushing programmers away from native code in favor of CLR. I'm using NetBeans 6.9.1 (I had issues with 7.0 and did not upgrade) and gcc. I went that route because I needed native code for windows and linux, Qt, and I liked the netbeans IDE. That's just personal preference and my situation. There are lots of other alternatives. Unfortunately none of them are as good at supporting the programmer as the visual studio IDE. On Tue, Jun 12, 2012 at 10:06 AM, Boggess, Rod <[email protected]>wro= te: > Thanks. I don=92t see anything in here that indicates it subjugates the > standard main function in C++. In fact, it says to create a main function= . > So that=92s great. (cgic makes you use cgimain which it calls from within= its > own main function, and it assumes you=92ll be doing HTML forms processing= . > I=92m glad to see these guys left control in the hands of the programmer = =96 > makes it more versatile.)**** > > ** ** > > I haven=92t looked through which classes are used for what yet, but I can > get that pretty quickly, I think.**** > > ** ** > > Have you tried linking this in with Visual Studio? Windows tools are > typically =96 peculiar in their support of ANSI standards. I didn=92t see > anything in there about how to make it work in Visual Studio. I=92m seein= g > some stuff on google about linking to a static library, rather than > dynamic, but I=92m also seeing issues with using the included windows pro= ject > file in the newer visual studio. Without it, there appears to be issues > with setting up the environment. Curios that there isn=92t any link here = on > setting this up to work on IIS, Windows, Visual Studio. It looks like it= =92s > going to be hit-or-miss in that regard.**** > > ** ** > > *From:* Jay Sprenkle [mailto:[email protected]] > *Sent:* Tuesday, June 12, 2012 10:25 AM > *To:* Boggess, Rod > *Subject:* Re: [help-cgicc] n00b question**** > > ** ** > > I was interested in doing the same thing. I know c++ reasonably well so I > just looked at the code I could find via google.**** > > Cgicc can parse request data without generating any HTML. You just don't > use the html portions of the library.**** > > Their documentation is here**** > > http://www.gnu.org/software/cgicc/doc/lib_overview.html **** > > ** ** > > On Mon, Jun 11, 2012 at 1:08 PM, Boggess, Rod <[email protected]> > wrote:**** > > I was reading an old book on cgic (not cgicc) and they overwrite the main > routine. Can someone give me a link to the documentation where I would fi= nd > out if cgicc does the same. My main interest isn=92t so much processing H= TML > forms, but for pulling out the GET data for manipulating applications > running on the server and sending back JSON data. (This is intended for u= se > as a maintenance utility for another application written in C, and the GE= T > data will identify which of a couple dozen programs are to be gracefully > shutdown, for example.) **** > > **** > > I really don=92t care about any other processing, just the GET data, and = I=92m > pretty sure that wouldn=92t be too difficult to do without the overhead o= f > any library, but figured I=92d 1) Leave room for growth, 2) not re-invent= the > wheel.**** > > **** > > The web page says cgicc =93documentation can be found at.=94 Not =93at: > http://some.web-address.com.=94, just =93at.=94 If someone could just poi= nt me > towards the documentation, I=92ve brought my own reading glasses and have > plenty of hot tea. Any insights or experiences are certainly also welcome= . > **** > > **** > > > _______________________________________________ > help-cgicc mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/help-cgicc**** > > > > **** > > ** ** > > -- > --- > "There's a zombie outbreak! Oh, no, wait a second... It's just a bunch > of kids texting."**** > --=20 --- "There's a zombie outbreak! Oh, no, wait a second... It's just a bunch of kids texting." --047d7b2edaa7d915ba04c247fada Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I have not tried using Visual Studio with C/C++ since VC 6.<div>Microsoft s= eems to be pushing programmers away from native code in favor of CLR.</div>= <div>I'm using NetBeans 6.9.1 (I had issues with 7.0 and did not upgrad= e) and gcc.</div> <div>I went that route because I needed native code for windows and linux, = Qt, and I liked the netbeans IDE.</div><div>That's just personal prefer= ence and my situation. There are lots of other alternatives.</div><div> Unfortunately none of them are as good at supporting the programmer as the = visual studio IDE.<br><br><div class=3D"gmail_quote">On Tue, Jun 12, 2012 a= t 10:06 AM, Boggess, Rod <span dir=3D"ltr"><<a href=3D"mailto:rboggess@t= enovacore.com" target=3D"_blank">[email protected]</a>></span> wro= te:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlink=3D"p= urple"><div><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-fam= ily:"Calibri","sans-serif";color:#1f497d">Thanks. I don= =92t see anything in here that indicates it subjugates the standard main fu= nction in C++. In fact, it says to create a main function. So that=92s grea= t. (cgic makes you use cgimain which it calls from within its own main func= tion, and it assumes you=92ll be doing HTML forms processing. I=92m glad to= see these guys left control in the hands of the programmer =96 makes it mo= re versatile.)<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"= ;Calibri","sans-serif";color:#1f497d">I haven=92t looked thr= ough which classes are used for what yet, but I can get that pretty quickly= , I think.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"= ;Calibri","sans-serif";color:#1f497d">Have you tried linking= this in with Visual Studio? Windows tools are typically =96 peculiar in th= eir support of ANSI standards. I didn=92t see anything in there about how t= o make it work in Visual Studio. I=92m seeing some stuff on google about li= nking to=A0 a static library, rather than dynamic, but I=92m also seeing is= sues with using the included windows project file in the newer visual studi= o. Without it, there appears to be issues with setting up the environment. = Curios that there isn=92t any link here on setting this up to work on IIS, = Windows, Visual Studio. It looks like it=92s going to be hit-or-miss in tha= t regard.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p><p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&q= uot;Tahoma","sans-serif"">From:</span></b><span style=3D"fon= t-size:10.0pt;font-family:"Tahoma","sans-serif""> Jay S= prenkle [mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">js= [email protected]</a>] <br> <b>Sent:</b> Tuesday, June 12, 2012 10:25 AM<br><b>To:</b> Boggess, Rod<br>= <b>Subject:</b> Re: [help-cgicc] n00b question<u></u><u></u></span></p><div= ><div class=3D"h5"><p class=3D"MsoNormal"><u></u>=A0<u></u></p><div><p clas= s=3D"MsoNormal"> I was interested in doing the same thing. I know c++ reasonably well so I j= ust looked at the code I could find via google.<u></u><u></u></p></div><div= ><p class=3D"MsoNormal">Cgicc can parse request data without generating any= HTML. You just don't use the html portions of the library.<u></u><u></= u></p> </div><div><p class=3D"MsoNormal">Their documentation is here<u></u><u></u>= </p></div><p class=3D"MsoNormal"><a href=3D"http://www.gnu.org/software/cgi= cc/doc/lib_overview.html" target=3D"_blank">http://www.gnu.org/software/cgi= cc/doc/lib_overview.html</a>=A0<u></u><u></u></p> <div><p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><u></u>=A0<u></u= ></p><div><p class=3D"MsoNormal">On Mon, Jun 11, 2012 at 1:08 PM, Boggess, = Rod <<a href=3D"mailto:[email protected]" target=3D"_blank">rbogge= [email protected]</a>> wrote:<u></u><u></u></p> <div><div><p class=3D"MsoNormal">I was reading an old book on cgic (not cgi= cc) and they overwrite the main routine. Can someone give me a link to the = documentation where I would find out if cgicc does the same. My main intere= st isn=92t so much processing HTML forms, but for pulling out the GET data = for manipulating applications running on the server and sending back JSON d= ata. (This is intended for use as a maintenance utility for another applica= tion written in C, and the GET data will identify which of a couple dozen p= rograms are to be gracefully shutdown, for example.) <u></u><u></u></p> <p class=3D"MsoNormal">=A0<u></u><u></u></p><p class=3D"MsoNormal">I really= don=92t care about any other processing, just the GET data, and I=92m pret= ty sure that wouldn=92t be too difficult to do without the overhead of any = library, but figured I=92d 1) Leave room for growth, 2) not re-invent the w= heel.<u></u><u></u></p> <p class=3D"MsoNormal">=A0<u></u><u></u></p><p class=3D"MsoNormal">The web = page says cgicc =93documentation can be found at.=94 Not =93at: <a href=3D"= http://some.web-address.com" target=3D"_blank">http://some.web-address.com<= /a>.=94, just =93at.=94 If someone could just point me towards the document= ation, I=92ve brought my own reading glasses and have plenty of hot tea. An= y insights or experiences are certainly also welcome.<u></u><u></u></p> <p class=3D"MsoNormal">=A0<u></u><u></u></p></div></div><p class=3D"MsoNorm= al" style=3D"margin-bottom:12.0pt"><br>____________________________________= ___________<br>help-cgicc mailing list<br><a href=3D"mailto:help-cgicc@gnu.= org" target=3D"_blank">[email protected]</a><br> <a href=3D"https://lists.gnu.org/mailman/listinfo/help-cgicc" target=3D"_bl= ank">https://lists.gnu.org/mailman/listinfo/help-cgicc</a><u></u><u></u></p= ></div><p class=3D"MsoNormal"><br><br clear=3D"all"><u></u><u></u></p><div>= <p class=3D"MsoNormal"> <u></u>=A0<u></u></p></div><p class=3D"MsoNormal">-- <br>---<br>"There= 's a zombie outbreak! =A0Oh, no, wait a second... =A0It's just a bu= nch of kids texting."<u></u><u></u></p></div></div></div></div></div><= /blockquote> </div><br><br clear=3D"all"><div><br></div>-- <br>---<br>"There's = a zombie outbreak! =A0Oh, no, wait a second... =A0It's just a bunch of = kids texting."<br> </div> --047d7b2edaa7d915ba04c247fada-- --===============6607753005091393684== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-cgicc mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-cgicc --===============6607753005091393684==--