C C++

M

Mallik * G

While reading some source code, I saw a variable called "end" of type
"time". So I investigated what the type "time" meant and saw that time
was a typedef for "Real". So what does "Real" mean? "Real" is a
typedef for QL_REAL. So what does "QL_REAL" mean? QL_REAL is type
double via the line of code #define QL_REAL double....
 
J

Jim Langston

Mallik * G said:
While reading some source code, I saw a variable called "end" of type
"time". So I investigated what the type "time" meant and saw that time
was a typedef for "Real". So what does "Real" mean? "Real" is a
typedef for QL_REAL. So what does "QL_REAL" mean? QL_REAL is type
double via the line of code #define QL_REAL double....

so what's your question? So the line

time end;
or however it was defined becomes
double end;
after all the preprocessore directives are finished. So what's the
question? Or is this an observation or a comment?
 
E

Erik Wikström

While reading some source code, I saw a variable called "end" of type
"time". So I investigated what the type "time" meant and saw that time
was a typedef for "Real". So what does "Real" mean? "Real" is a
typedef for QL_REAL. So what does "QL_REAL" mean? QL_REAL is type
double via the line of code #define QL_REAL double....

Congratulations, you have discovered abstraction, a fundamental skill
when writing software.
 
S

Sleipnir

You're learning how to use QuanLib?
That's interesting... You're gonna work in finance?

Commando team use it with VBA... Maybe you'd have to imporve VBA first...
QuandLib has a DLL usable into Excel without knowing how C++ works and with
about the same performances...
 
P

pauldepstein

Congratulations, you have discovered abstraction, a fundamental skill
when writing software.
No, I don't think the OP has discovered abstraction. I wrote
_exactly_ the same paragraph in another posting, and the OP just copy-
pasted it. I don't know why the OP did this(??)
If the OP has discovered anything, it is the art of copying and
pasting text.

Paul Epstein
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top