This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/cplbexam/complex/friend/lshift.cpp

16 lines
276 B
C++

#include <strstrea.h>
#include <complex.h>
void main( void ) {
istrstream input( "(1,2) 3,4 (5)" );
Complex a, b, c;
input >> a;
input >> b;
input >> c;
cout << "a = " << a
<< ", b = " << b
<< ", c = " << c << endl;
}