10 messages in com.mysql.lists.plusplusRE:programming questions
FromSent OnAttachments
Dimitrios Tsalikis18 Apr 2003 16:27 
Warren Young21 Apr 2003 08:31 
Dimitrios Tsalikis22 Apr 2003 20:20 
Dimitrios Tsalikis22 Apr 2003 20:25 
Warren Young23 Apr 2003 06:35 
Murr...@Comneon.com23 Apr 2003 07:01 
Dimitrios Tsalikis23 Apr 2003 12:03 
Warren Young23 Apr 2003 13:41 
Will Bryant23 Apr 2003 18:09 
Murr...@Comneon.com23 Apr 2003 23:32 
Subject:RE:programming questions
From:Dimitrios Tsalikis (dt1@mdx.ac.uk)
Date:04/23/2003 12:03:31 PM
List:com.mysql.lists.plusplus

Hello,

On line line 74 of query1.hh, store() gets defined through the mysql_query_define1 macro from sql_query0.hh, which actually declares _several_ functions, one of which takes 0 arguments.

Warren, I guess you mean the #define mysql_query_define1(RETURN, FUNC)
RETURN FUNC (query_reset r = RESET_QUERY) {return FUNC (def,r);} as it can
take no arguments. This in turn calls the FUNC(def,r), doesnt it? Should I assume that it calls
the RETURN FUNC (parms &p, query_reset r = RESET_QUERY)? what and where this
"def" takes values from?? what is parms ? (...jesus...) Can you be a little
verbose in your answer plz so that I can understand?

Finally, I can't find storein( ) somewhere! Warren can you give me a sample code showing me how to use it?

Try the manual

Indeed, the function is used in the later examples that I havent gone
through yet...I asked about the storein( ) function as it is not documented at
the section 5.Class Reference,of the C++ API manual, under the Query class.
Shouldnt be documented there?

I would like to thank both guys for their answers and suggestions. Dimitris.