From MAILER-DAEMON Mon Mar 26 15:40:46 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SCFmX-00019N-QO for mharc-help-cgicc@gnu.org; Mon, 26 Mar 2012 15:40:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC5iy-0005kQ-EG for help-cgicc@gnu.org; Mon, 26 Mar 2012 04:56:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SC5is-0000ky-By for help-cgicc@gnu.org; Mon, 26 Mar 2012 04:56:24 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:35678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SC5is-0000kT-5J for help-cgicc@gnu.org; Mon, 26 Mar 2012 04:56:18 -0400 Received: by iajr24 with SMTP id r24so9735068iaj.0 for ; Mon, 26 Mar 2012 01:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pBIXU370as+awLtPUwyt48XLjD/x32mgUnwxg6/EXL8=; b=M620yRtP8RpMeOtONfNS/yQ5+Ell7LGUHpZrYMlBpR4v7SHoJ6LRIVhNSEExOfu4r3 9zbFROz2U9zAel+dninA4IbJX1mxVTdvGqB21x9oWR4ja/NbBHN1R24Xw+fjIFDI7EHV 1a6407qxzj730bxLjZVNS3U5LUkd07YuqE29zp3A2xjTLoHkGIicna/GGqSRMVMVpRQw 6fAcLEQlX48U/Y9yXsDnrUiOOfg8pdwbAidYP5cLOaT+mtU92qnXQZZgwVgBr9GOgT+U MZkEYWyEzBpHMhiexl1c9ZcYSd7coIGzh2wQD+m761o0bc+5tJTMq3XJrNGdtnyWAsCa M2ng== MIME-Version: 1.0 Received: by 10.50.212.101 with SMTP id nj5mr4981382igc.41.1332752175077; Mon, 26 Mar 2012 01:56:15 -0700 (PDT) Received: by 10.231.102.9 with HTTP; Mon, 26 Mar 2012 01:56:15 -0700 (PDT) Date: Mon, 26 Mar 2012 16:56:15 +0800 Message-ID: From: hang yan To: help-cgicc@gnu.org Content-Type: multipart/alternative; boundary=14dae93404f7f817b204bc218b54 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-Mailman-Approved-At: Mon, 26 Mar 2012 15:40:44 -0400 Subject: [help-cgicc] cgi("name"); X-BeenThere: help-cgicc@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Users list for cgicc, the GNU C++ CGI class library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2012 08:56:25 -0000 --14dae93404f7f817b204bc218b54 Content-Type: text/plain; charset=ISO-8859-1 std::string name = cgi("name"); I found it in the tutorial.but i don't understant how it workes. --14dae93404f7f817b204bc218b54 Content-Type: text/html; charset=ISO-8859-1
std::string name = cgi("name");
I found it in the tutorial.but i don't understant how it workes.
--14dae93404f7f817b204bc218b54-- From MAILER-DAEMON Mon Mar 26 15:47:08 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SCFsi-0005ns-GM for mharc-help-cgicc@gnu.org; Mon, 26 Mar 2012 15:47:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCFsf-0005md-PO for help-cgicc@gnu.org; Mon, 26 Mar 2012 15:47:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCFsd-0005mI-OP for help-cgicc@gnu.org; Mon, 26 Mar 2012 15:47:05 -0400 Received: from lifeintegrity.com ([173.48.39.13]:57898 helo=smtp.lifeintegrity.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCFsd-0005lL-Jk for help-cgicc@gnu.org; Mon, 26 Mar 2012 15:47:03 -0400 Received: from vent.lifeintegrity.com (173-162-190-62-NewEngland.hfc.comcastbusiness.net [173.162.190.62]) by smtp.lifeintegrity.com (Postfix) with ESMTPS id D6FDF176; Mon, 26 Mar 2012 19:47:01 +0000 (UTC) Received: by vent.lifeintegrity.com (Postfix, from userid 1000) id 8D288181430; Mon, 26 Mar 2012 19:47:01 +0000 (UTC) Date: Mon, 26 Mar 2012 15:47:01 -0400 From: Allan Wind To: hang yan Message-ID: <20120326194701.GA11258@lifeintegrity.com> Mail-Followup-To: hang yan , help-cgicc@gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 173.48.39.13 Cc: help-cgicc@gnu.org Subject: Re: [help-cgicc] cgi("name"); X-BeenThere: help-cgicc@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Users list for cgicc, the GNU C++ CGI class library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2012 19:47:07 -0000 On 2012-03-26 16:56:15, hang yan wrote: > std::string name = cgi("name"); > I found it in the tutorial.but i don't understant how it workes. What is cgi? If an instance of cgicc::Cgicc then it's invoking: std::string operator() (const std::string &name) const Find a radio button in a radio group, or a selected list item is where you find the reference. /Allan -- Allan Wind Life Integrity, LLC From MAILER-DAEMON Mon Mar 26 20:01:31 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SCJqt-0003a2-RM for mharc-help-cgicc@gnu.org; Mon, 26 Mar 2012 20:01:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCJqr-0003ZJ-6z for help-cgicc@gnu.org; Mon, 26 Mar 2012 20:01:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCJqp-0005zR-7Q for help-cgicc@gnu.org; Mon, 26 Mar 2012 20:01:28 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:62083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCJqo-0005zC-Uc for help-cgicc@gnu.org; Mon, 26 Mar 2012 20:01:27 -0400 Received: by werj55 with SMTP id j55so5834892wer.0 for ; Mon, 26 Mar 2012 17:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=c8vVNxwNHoK/Tksu1TLXk26WmsYPw3MzoEaYpNUqLEc=; b=squLVPfj79G6DiJhg4LCWBVEhu+Lz8D8gnWlCRg6VyOl98BUOoNRsInqisUsJY2qAz vQq2P+Fjj0q6NOc69d16ASg9juhyRAqqI2dDli2EML8kZ/p5bWxL4xhSqCz/dg0IcNxY Flre8DOwGlObFLNGPJ0iOI/XrSzI7SW6Z2BFF4wJRoq2s6HxJJ8HEMMxyPaqsqPXLt6x 1wnTUyU3F048ClyoychBGYhCyIfxIaqXO/yKuZbq12WSAVnM1HK5LwJPzGugG9KgWaNp /1WKCbt8ovyTabam1dz+o4Z8Iputrjp3NxOKtUlpq+5ichi4qRw8wJVnAWyUwiPJR+mR Vaig== MIME-Version: 1.0 Received: by 10.216.137.22 with SMTP id x22mr16079185wei.69.1332806484698; Mon, 26 Mar 2012 17:01:24 -0700 (PDT) Received: by 10.180.162.196 with HTTP; Mon, 26 Mar 2012 17:01:24 -0700 (PDT) In-Reply-To: <20120326194701.GA11258@lifeintegrity.com> References: <20120326194701.GA11258@lifeintegrity.com> Date: Tue, 27 Mar 2012 08:01:24 +0800 Message-ID: From: hang yan To: hang yan , help-cgicc@gnu.org Content-Type: multipart/alternative; boundary=0016e6d46b8313260204bc2e3188 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 Subject: Re: [help-cgicc] cgi("name"); X-BeenThere: help-cgicc@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Users list for cgicc, the GNU C++ CGI class library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 00:01:30 -0000 --0016e6d46b8313260204bc2e3188 Content-Type: text/plain; charset=ISO-8859-1 it is in the http://www.gnu.org/software/cgicc/doc/cgicc_tutorial.html I look up the constructs,and didn't the usage.and there isn't a operator() is the cgi class.... 2012/3/27 Allan Wind > On 2012-03-26 16:56:15, hang yan wrote: > > std::string name = cgi("name"); > > I found it in the tutorial.but i don't understant how it workes. > > What is cgi? If an instance of cgicc::Cgicc then it's invoking: > > std::string operator() (const std::string &name) const > Find a radio button in a radio group, or a selected list > item > > > is where you find the reference. > > > /Allan > -- > Allan Wind > Life Integrity, LLC > > --0016e6d46b8313260204bc2e3188 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable it is in the=A0http://www.gnu.org/software/cgicc/doc/cgicc_tutorial.htmlI look up the constructs,and didn't the usage.and there isn't a op= erator() is the cgi class....

2012/3/27 Allan Wind <<= a href=3D"mailto:allan_wind@lifeintegrity.com">allan_wind@lifeintegrity.com= >
On 2012-03-26 16:56:15, hang yan wrote:
> std::string name =3D cgi("name");
> I found it in the tutorial.but i don't understant how it workes.
What is cgi? =A0If an instance of cgicc::Cgicc then it's invoking= :

std::string =A0 =A0 operator() (const std::string &name) const
=A0 =A0 =A0 =A0Find a radio button in a radio group, or a selected list =A0 =A0 =A0 =A0item

<http://www.gnu.org/software/cgicc/doc/classcgicc_1_1C= gicc.html>
is where you find the reference.


/Allan
--
Allan Wind
Life Integrity, LLC
<http://lifeinteg= rity.com>

--0016e6d46b8313260204bc2e3188-- From MAILER-DAEMON Mon Mar 26 21:11:47 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SCKwt-00015N-Lp for mharc-help-cgicc@gnu.org; Mon, 26 Mar 2012 21:11:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCKwq-00012H-4O for help-cgicc@gnu.org; Mon, 26 Mar 2012 21:11:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCKwo-0007Yk-1L for help-cgicc@gnu.org; Mon, 26 Mar 2012 21:11:43 -0400 Received: from lifeintegrity.com ([173.48.39.13]:48753 helo=smtp.lifeintegrity.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCKwn-0007YC-TN for help-cgicc@gnu.org; Mon, 26 Mar 2012 21:11:41 -0400 Received: from vent.lifeintegrity.com (lifeintegrity.com [173.48.39.13]) by smtp.lifeintegrity.com (Postfix) with ESMTPS id 2EE20176 for ; Tue, 27 Mar 2012 01:11:40 +0000 (UTC) Received: by vent.lifeintegrity.com (Postfix, from userid 1000) id 2398418142D; Tue, 27 Mar 2012 01:11:40 +0000 (UTC) Date: Mon, 26 Mar 2012 21:11:40 -0400 From: Allan Wind To: help-cgicc@gnu.org Message-ID: <20120327011140.GB2976@lifeintegrity.com> Mail-Followup-To: help-cgicc@gnu.org References: <20120326194701.GA11258@lifeintegrity.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 173.48.39.13 Subject: Re: [help-cgicc] cgi("name"); X-BeenThere: help-cgicc@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Users list for cgicc, the GNU C++ CGI class library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 01:11:45 -0000 On 2012-03-27 08:01:24, hang yan wrote: > it is in the http://www.gnu.org/software/cgicc/doc/cgicc_tutorial.html As in: The cgicc::FormEntry class provides methods for extracting data as numbers, removing line breaks, etc. If you are not interested in performing any data validation or modification, but simply want to access a string representaion of the data, the simplest case is streamlined: std::string name = cgi("name"); > I look up the constructs,and didn't the usage.and there isn't a operator() > is the cgi class.... Maybe you are looking at an earlier version as I pointed you to the reference for said operator(). Hope it helps. /Allan -- Allan Wind Life Integrity, LLC