Re: .fflush() in stdio.d

2019-08-26 Thread berni via Digitalmars-d-learn
On Monday, 26 August 2019 at 09:14:23 UTC, Jonathan M Davis wrote: The dot makes it so that it's specifically referencing a module-level symbol (be it in that module or an imported module) instead of a local or member symbol. Ah, thanks. Now it makes sense! :)

Re: .fflush() in stdio.d

2019-08-26 Thread a11e99z via Digitalmars-d-learn
On Monday, 26 August 2019 at 09:14:23 UTC, Jonathan M Davis wrote: On Sunday, August 25, 2019 11:59:08 PM MDT berni via - Jonathan M Davis OFFTOPIC: (dont have ur email. dont like emails cuz too officially and too long) (and dont want create new topic. this one probably solved/finished alr

Re: .fflush() in stdio.d

2019-08-26 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, August 25, 2019 11:59:08 PM MDT berni via Digitalmars-d-learn wrote: > Out of curiosity: Browsing the source of stdio.d I found that > flush() is implemented by calling fflush from some C++ library. > What I don't understand: Why is the call to fflush preceded by a > dot? The dot makes

.fflush() in stdio.d

2019-08-25 Thread berni via Digitalmars-d-learn
Out of curiosity: Browsing the source of stdio.d I found that flush() is implemented by calling fflush from some C++ library. What I don't understand: Why is the call to fflush preceded by a dot?