3 ms·
But you're familiar with cin/cout right? Same thing. Weird at first every C++ programmer should be familiar with it now. I pronounce << and >> as 'goes to' an
by emmelaich 8y ago
But you're familiar with cin/cout right?
Same thing. Weird at first every C++ programmer should be familiar with it now.
I pronounce << and >> as 'goes to' and 'comes from' or something similar.
- umvi 8y agoOf course. But what I'm not used to is seeing something like this: cin >> foo(x);
- cercatrova 8y agoThis is common in many functional languages, and even in the shell. Think of pipes such as input | sed ... | grep ..., or in F#, xs |> List.map (fun x -> x.Value). Basically, each input goes into the function and is piped through to get to the output.