cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
What does this do/mean?
What does this do/mean?
Jun 9, 2011 at 7:37pm UTC
HenriK
(136)
Hello, it´s me here. I was trying to learn how to use DirectX and XInput when I accidentally found this kind of marking in a piece of code:
function
().
something
Now may I ask you what does this marking actually mean and/or do?
Last edited on
Jun 9, 2011 at 7:41pm UTC
Jun 9, 2011 at 7:51pm UTC
webJose
(2948)
If the function returns an object that has the
something
method/field (as per its class definition), then the above is just doing that: Calling
something
on the returned object.
Last edited on
Jun 9, 2011 at 7:52pm UTC
Topic archived. No new replies allowed.