#1
12th October 2016, 08:01 AM
| |||
| |||
Math H Or CMATH
Hii sir, I am Student of BCA I wants to Know the difference between math.h and CMAT And Also Differentiate iostream and iostream.h in C++?
|
#2
12th October 2016, 08:17 AM
| |||
| |||
Re: Math H Or CMATH
As you Asking for the difference between MATH.h and CMATH the Differnce is As Follow Math.H is A Header File In C Used for the Mathematical Functions into the Program But It is Also Used By C++ cmath is a C++ library header File The stuff from math.h in the correct namespace plus a lot more Addition With Some More Numerical Functions Difference About the iostream and iostream.h iostream is a C++ library header. It declares the eight global streams (std::cin, std::cout, etc) iostream.h is not, and never was part of standard C++ (or C, of course). It was part of the IO library from around 1990, but by the time the first C++ standard was published in 1998, it was history. Here I am giving you Some Header Files of the C++ Languages : <cstdlib> General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search <csignal> Functions and macro constants for signal management <csetjmp> Macro (and function) that saves (and jumps) to an execution context <cstdarg> Handling of variable length argument lists <typeinfo> Runtime type information utilities <typeindex> (since C++11) std::type_index <type_traits> (since C++11) Compile-time type information <bitset> std::bitset class template <functional> Function objects, designed for use with the standard algorithms <utility> Various utility components <ctime> C-style time/date utilites <chrono> (since C++11) C++ time utilites <cstddef> typedefs for types such as size_t, NULL and others <initializer_list> (since C++11) std::initializer_list class template <tuple> (since C++11) std::tuple class template <any> (since C++17) std::any class template <optional> (since C++17) std:ptional class template <variant> (since C++17) std::variant class template |