No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Hi! I am working on a project in which I have some variables & I have assigned certain default values to those variables.Output of the project should be somewhat like as shown below :- a = 10 b = 20 c = 1 d = 4 ... & so on … | |
Hi! can somebody please tell me how to avoid floating point overflow error? Mine is a very big program that uses double data type. Is there any way in which I can roundoff double numbers to upto certain digit? | |
Hi All!! I am relatively new to C++ programming so please forgive me if my question is very basic or silly. I am trying to read files in C++. It opens text based files properly but doesnt open csv files , though I am saving them in the same directory. … | |
Hi Frenz! Please go through the following program made for matrices:- [code=cpp] template <class T> class Matrix { private: int dim1;int dim2; T **mtx; public: Matrix(int a) { dim1=dim2=a; mtx=new T*[dim1]; for(int i=0;i<dim1;i++) mtx[i]=new T[dim2]; } ~Matrix() { delete []mtx; } Matrix<T> operator +(Matrix<T> M) { Matrix C(dim1,dim2); for(int i=0;i<dim1;i++) … | |
Hi guys!!! This is my first post on daniweb & i hope i find a solution to my problem.I am developing a software that makes extensive use of Matrices.i have used dynamic memory allocation for matrices.Now this program makes lots of iterations.It works upto certain iterations say 56 after which … |
The End.