[offtopic] C programming newsgroup

Scott David Daniels Scott.Daniels at Acm.Org
Tue Sep 21 14:38:47 EDT 2004


Cameron Laird wrote:
> ... even *mention* > of "C/C++" seems capable of inciting lawsuits over there.

I couldn't pass this up:

Generally the answer is 1 for integer types and 1.0 for floating point
types.  However, you can run into troubles dividing by 0.

     { int C = 5; printf('int: C/C++ = %d', C/C++); }
     { double C = 3.1415; printf('double: C/C++ = %d', C/C++); }
     ...



More information about the Python-list mailing list