Connecting Tech Pros Worldwide Help | Site Map

C C++

  #1  
Old July 4th, 2008, 04:35 AM
Mallik * G
Guest
 
Posts: n/a
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....
  #2  
Old July 4th, 2008, 05:05 AM
Jim Langston
Guest
 
Posts: n/a

re: C C++


"Mallik * G" <gadde.mallik@gmail.comwrote in message
news:7e4a882c-6f46-46eb-aa54-903842fa1b4d@p39g2000prm.googlegroups.com...
Quote:
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?


  #3  
Old July 4th, 2008, 05:05 AM
Sam
Guest
 
Posts: n/a

re: C C++


Mallik * G writes:
Quote:
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....
Thank you for sharing with us a few minutes of your life. Now, was there a
question buried in your report, somewhere, that you were planning to ask?



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkhtn6wACgkQx9p3GYHlUOJCWACfX/8BkQT+kxDfGHbrH40rqCvC
My8An1EMBtbn3sYE3pkmMc00U2tccOrD
=mfou
-----END PGP SIGNATURE-----

  #4  
Old July 4th, 2008, 04:45 PM
=?UTF-8?B?RXJpayBXaWtzdHLDtm0=?=
Guest
 
Posts: n/a

re: C C++


On 2008-07-04 05:25, Mallik * G wrote:
Quote:
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.

--
Erik Wikström
  #5  
Old July 9th, 2008, 02:25 AM
pauldepstein@att.net
Guest
 
Posts: n/a

re: C C++


On Jul 4, 11:43*pm, Erik Wikström <Erik-wikst...@telia.comwrote:
Quote:
On 2008-07-04 05:25, Mallik * G wrote:
>
Quote:
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 forQL_REAL. So what does "QL_REAL" mean?QL_REALis type
double via the line of code #defineQL_REALdouble....
>
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

Closed Thread