Connecting Tech Pros Worldwide Help | Site Map

C C++

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 4th, 2008, 03:35 AM
Mallik * G
Guest
 
Posts: n/a
Default C C++

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, 04:05 AM
Jim Langston
Guest
 
Posts: n/a
Default 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, 04:05 AM
Sam
Guest
 
Posts: n/a
Default 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, 03:45 PM
=?UTF-8?B?RXJpayBXaWtzdHLDtm0=?=
Guest
 
Posts: n/a
Default 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, 01:25 AM
pauldepstein@att.net
Guest
 
Posts: n/a
Default 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

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.