Just wondering if it is possible to create your own operator? ex
use <- instead of <<
so
cin >> test
cin <-test
or just
<- test
Printable View
Just wondering if it is possible to create your own operator? ex
use <- instead of <<
so
cin >> test
cin <-test
or just
<- test
like this?
Code:#include <iostream>
#define _ std::cout<<
int main()
{
_ "test\n";
return 0;
}
No. You can not make up your own operators.