Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.16 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. To overload operator or make function (C  )
  2. int foo (int A, int B) {
  3.  
  4.     // write equations
  5. }
  6.        
  7. int operator| (int A, int B) {
  8.  
  9.     // write equations
  10. }