3 ms·
It does. I use it to check quick c questions. It works kind of like gdb's 'p' command, but you can also execute c code by putting it in braces. Here's an excer
by dazmax 16y ago
It does. I use it to check quick c questions. It works kind of like gdb's 'p' command, but you can also execute c code by putting it in braces.
Here's an excerpt from my most recent cint repl session:
cint> {long x = 84bfaad645e2e33f; double * p = &x;}
Warning: Illegal numerical expression 84bfaad645e2e33f FILE:(tmpfile) LINE:1
cint> {long x = 0x84bfaad645e2e33f; double * p = &x;}
cint> p p
(double*)0x100809480
cint> p *p
(double)(-8.31870270613823687e-286)