[brlug-general] totally unrelated
Dustin Puryear
dpuryear at usa.net
Sat May 11 16:13:59 CDT 2002
At 03:37 PM 5/11/2002 -0500, you wrote:
>Hi, this isn't linux specific, but I figure perhaps some of you will be
>more experienced programmers than I and can answer my question.
>
>Riddle me this Batman.........
>C++........If I'm in main() and on one line, I both print text to the
>screen with cout, and I call a function, does it just do things from left
>to right? or would it call the function first, and then print to the
>screen? Just curious.
Are you asking about operator precedence in C++? And for the example, do
you mean:
cout << func();
?
Regards, Dustin
---
Dustin Puryear <dpuryear at usa.net>
UNIX and Network Consultant
http://members.telocity.com/~dpuryear
PGP Key available at http://www.us.pgp.net
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams
More information about the General
mailing list