Bruno<div>In the manual it says: <span class="Apple-style-span" style="font-family: monospace; font-size: medium; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "> cl_I order_of_rubiks_cube_group = "43252003274489856000";
</span><br></div><div>so I declared a string, S, read it from a file, and then I said</div><div><br></div><div>cl_I = S; </div><div>I also tried cl_I = cl_I(S),</div><div><br></div><div>but it did not work. I assume because the string is dynamic there is a problem. I could not find the correct function or class constructor that takes a string. </div>
<div><br></div><div>Here is the error:</div><div><div>In function ‘int main(int, char**)’:</div><div>e.cc:75: error: conversion from ‘std::string’ to non-scalar type ‘cln::cl_I’ requested</div><div>make: *** [e.o] Error </div>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Sun, Jul 18, 2010 at 6:26 PM, Bruno Haible <span dir="ltr"><<a href="mailto:bruno@clisp.org">bruno@clisp.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Joshua,<br>
<div class="im"><br>
> I couldn't convert from a string to any of the types (cl_R, or cl_I).<br>
<br>
</div>Which of the conversion functions listed in the manual, section<br>
"Input functions" [1], did you try, and how?<br>
<br>
Bruno<br>
<br>
[1] <a href="http://www.ginac.de/CLN/cln_5.html#SEC46" target="_blank">http://www.ginac.de/CLN/cln_5.html#SEC46</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Joshua Friedman PhD<br><a href="mailto:CrownEagle@gmail.com">CrownEagle@gmail.com</a><br><a href="http://www.math.sunysb.edu/~joshua">http://www.math.sunysb.edu/~joshua</a><br>
</div>