This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler: How to define a new operator

Tool/software: TI C/C++ Compiler

Is it possible to write a program and define a new operator for it? I would like to make a function to calculate the total resistance with two parallel resistors and it would be nice if i could write R1||R2 in the calculator instead of res(R1,R2)