From 6ed9a9699997a2853ec1c9e91747c251e5cfc97b Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 15 Jun 2014 03:50:43 +0200 Subject: damn --- ccc/float_int.cc | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 ccc/float_int.cc (limited to 'ccc/float_int.cc') diff --git a/ccc/float_int.cc b/ccc/float_int.cc deleted file mode 100644 index 9d0ece4..0000000 --- a/ccc/float_int.cc +++ /dev/null @@ -1,26 +0,0 @@ -#include - -using namespace std; - - -int main(void) -{ - int a = 1; - int b = 2; - double q = (double)a/b; - cout << q << endl; - - cout << 1 - (float)a/b << endl; - - float x = 0.1; - unsigned y = 105; - unsigned z = x*y; - cout << z << endl; - - float u = -1; - if (u) cout << "XXXXXX" << endl; - - float j = 0.0; - if (j) cout << "j" << endl; -} - -- cgit v1.2.3