Sponsored Content
Full Discussion: C++ questions
Top Forums Programming C++ questions Post 302140732 by porter on Monday 15th of October 2007 07:10:34 PM
Old 10-15-2007
1. traditionally you would say

cout << list;

or similar.

2. to add something you would do

list+="apple6";

However if you wanted to go down the STL route you would have a whole heap of fun.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

i got some questions :)

Hi! Im new to all this but the computer club im in has unix i think. now my questions. 1.is it NTFS i need to partion the harddrive with to be able to use unix? 2.Unix and Linux whats the diffrense?yes im a noob got no idea been using crap windows for ages and hate it. 3.I got a win98... (2 Replies)
Discussion started by: Pierre
2 Replies

2. Programming

C questions

What does "extern" do? ex. extern int x; and another question, what about using static in functions? like: static void foo(), why? (2 Replies)
Discussion started by: Esaia
2 Replies

3. Solaris

2 Questions

Hello Everbody I hope you can give me a hand, I have some questions The first one itīs about some message that I donīt know what means, I was looking about it. but nothing. This is the message rsh: connection from bad port bsd-gw: Error reading from connection: Bad file number And my... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

4. UNIX for Dummies Questions & Answers

Just a few questions.

Hi everyone im new to this forums, i just wanted to get started by asking a few question(Im a Unix newbie) 1. How do i sort a file called "dirr" in a ascending order on the 3rd column 2. what does alias on=who do Thanks in advance!!! (1 Reply)
Discussion started by: Da Paper
1 Replies

5. Programming

two questions

hey all, I have question when am writing simple shell... in the child am calling execvp, i want the parent to know when execvp returns - 1. how can i let the parent know the result of execvp thanks in advance (9 Replies)
Discussion started by: joey
9 Replies

6. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

7. UNIX for Dummies Questions & Answers

Just had a few questions

1) The lpr and sort utilities accept input either from a file named on the command line or from standard input. a)Name two other utilities that function in a similar manner. b)Name a utility that accepts its input only from standard input. 2) Explain the following error message. What... (10 Replies)
Discussion started by: youngyou
10 Replies

8. UNIX for Dummies Questions & Answers

Vi questions

Hello, I would like to know how we can highlight/select a section of a file in vi and delete that section if we don't want to use the dd command to delete one line at at time. There is one where we don't want to delete the whole line , but up to a certain word. (2 Replies)
Discussion started by: Pouchie1
2 Replies
rudecgi(3)							   User Manuals 							rudecgi(3)

NAME
rudecgi - access formdata in CGI applications SYNOPSIS
#include <rude/cgi.h> rude::CGI CGI(); static void finish(); static const char *version(); static void setPathDelimiter(char delimiter); static void addPathMapName(const char *pathname ); static void setPathMapVoid(const char *emptyname); static void parsePathMap(bool shouldParse); static void parsePath(bool shouldParse); static void parseCookies(bool shouldParse); static void maxPostLength(long bytes); void setCaseSensitive(bool isCaseSensitive); int numValues() const; int numValues(const char *fieldname) const; const char *fieldnameAt(int position) const; bool exists(const char *fieldname) const; bool isFile(int index) const; bool isFile(const char *fieldname) const; bool isFile(const char *fieldname, int position); const char *datasource(int index) const; const char *datasource(const char *fieldname) const; const char *datasource(const char *fieldname, int position) const; const char * operator[](const char *fieldname); const char * operator[](int x); const char *value(int index) const; const char *value(const char *fieldname) const; const char *value(const char *fieldname, int position) const; const char *length(int index) const; const char *length(const char *fieldname) const; const char *length(const char *fieldname, int position) const; const char *contenttype(int index) const; const char *contenttype(const char *fieldname) const; const char *contenttype(const char *fieldname, int position) const; const char *filename(int index) const; const char *filename(const char *fieldname) const; const char *filename(const char *fieldname, int position) const; const char *filepath(int index) const; const char *filepath(const char *fieldname) const; const char *filepath(const char *fieldname, int position) const; std::ostream& operator<<(std::ostream& os,const CGI& cgi); DESCRIPTION
The RudeCGI library is used to access formdata within C++ CGI applications. EXAMPLES
Examples, how-to's and tutorials can also be found at the rudeserver.com website Basic Usage #include <rude/cgi.h> #include <iostream> using namespace std; using namespace rude; int main(void) { // Obtain the cgi instance // CGI cgi; // Print out standard CGI HTTP Response header // cout << "Content-Type: text/html0; // Print out HTML // cout << "<html><body>" << "You selected the color: " ; // use the cgi object to obtain form data // cout << cgi["color"]; cout << "</body></html>"; return 0; } SEE ALSO
rudeconfig(3), rudedatabase(3), rudesocket(3), rudesession(3) REPORTING PROBLEMS
Before reporting a problem, please check the rudeserver.com web site to verify that you have the latest version of rudecgi; otherwise, obtain the latest version and see if the problem still exists. Please read the FAQ at: http://www.rudeserver.com/ before asking for help. Send questions and/or comments to matt@rudeserver.com AUTHORS
Copyright (C) 2000 Matthew Flood (matt@rudeserver.com) This software is provided "as-is," without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. See the distribution directory with respect to requirements governing redistribution. Thanks to all the people who reported problems and suggested various improvements in rudecgi; who are too numerous to cite here. Version 4.1.1 January 11, 2006 rudecgi(3)
All times are GMT -4. The time now is 08:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy