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 <[EMAIL PROTECTED]>
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


Reply via email to