[sword-devel] Learning the Sword API
Tim Hawes
sword-devel@crosswire.org
Mon, 05 Feb 2001 20:23:22 -0500
--------------81534D96D49872366A75273A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Thanks! That worked.
Joachim Ansorg wrote:
> Hi!
>
> > cout << module->Type() << endl
> > << module->Name() << ": "
> > << (const char *) module << endl;
> ^^^^^^
> I think (const char*)*module should be the right cast to get the text. In
> your code you are using the (const char*) operator of the pointer.
> No tested.
>
> --Joachim
>
> > return 0;
> > }
> >
> > Can anyone tell me why this does not display the key contents? Also, is
> > there a way to find a particular module without having to cycle through
> > the entire ModMap to find it (I am green around the ears in C++)?
> >
> > --
> > \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
> >
> > Tim Hawes
> >
> > ***Althusius.net***
> > http://Althusius.net
> >
> > thawes@althusius.net
> >
> > ---------------------------------------------------------
>
> ----------------------------------------
> Content-Type: text/html; charset="us-ascii"; name="Anhang: 1"
> Content-Transfer-Encoding: 7bit
> Content-Description:
> ----------------------------------------
>
> --
> Joachim Ansorg
> BibleTime - www.bibletime.de - info@bibletime.de
> BibleTime is an easy to use Bible study tool for KDE / Linux.
--
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Tim Hawes
***Althusius.net***
http://Althusius.net
thawes@althusius.net
---------------------------------------------------------
Toleration is an inner personal disposition, is a
fundamental requirement of being human and of living
together in society . . .When toleration becomes
indifference, it is ruined. -Van Ruler
--------------81534D96D49872366A75273A
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanks! That worked.
<p>Joachim Ansorg wrote:
<blockquote TYPE=CITE>Hi!
<p>> cout << module->Type() <<
endl
<br>>
<< module->Name() << ": "
<br>>
<< (const char *) module << endl;
<br>
^^^^^^
<br>I think (const char*)*module should be the right cast to get the text.
In
<br>your code you are using the (const char*) operator of the pointer.
<br>No tested.
<p>--Joachim
<p>> return 0;
<br>> }
<br>>
<br>> Can anyone tell me why this does not display the key contents? Also,
is
<br>> there a way to find a particular module without having to cycle through
<br>> the entire ModMap to find it (I am green around the ears in C++)?
<br>>
<br>> --
<br>> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
<br>>
<br>> Tim Hawes
<br>>
<br>> ***Althusius.net***
<br>> <a href="http://Althusius.net">http://Althusius.net</a>
<br>>
<br>> thawes@althusius.net
<br>>
<br>> ---------------------------------------------------------
<p>----------------------------------------
<br>Content-Type: text/html; charset="us-ascii"; name="Anhang: 1"
<br>Content-Transfer-Encoding: 7bit
<br>Content-Description:
<br>----------------------------------------
<p>--
<br>Joachim Ansorg
<br>BibleTime - www.bibletime.de - info@bibletime.de
<br>BibleTime is an easy to use Bible study tool for KDE / Linux.</blockquote>
<pre>--
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Tim Hawes
***Althusius.net***
<A HREF="http://Althusius.net">http://Althusius.net</A>
thawes@althusius.net
---------------------------------------------------------
Toleration is an inner personal disposition, is a
fundamental requirement of being human and of living
together in society . . .When toleration becomes
indifference, it is ruined. -Van Ruler</pre>
</html>
--------------81534D96D49872366A75273A--