|
-
October 15th, 2012, 08:51 PM
#7
Re: Linear Interpolation C code for X and Y axis - compile errors
 Originally Posted by controlsguy
Thanks Paul. Will do.
I can't find any topics on the "<<" I am using. How do these normally work?
Well, here may be more confusion between C and C++.
In C++, there is a concept called operator overloading. This means that you can take an operator, for example, the "+", "-", "<<", etc, and define different meanings for them, depending on the type of arguments that are used with the operators. If the "<<" is not overloaded, it is the "shift-left n bits" operator. However for streams, whenever a "<<" is used "<<" takes on a different meaning, which is "stream the data to x".
In 'C', there is no such thing as operator overloading. Therefore the << has one and only one meaning -- shift left n bits.
So if you mean "<<" with respect to C++ streams, then there is plenty of topics on this, since streams are a core topic in C++.
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|