- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
2 Posted Topics
Re: //C++ class to get matrix elements as input from user class matrix_input { private: int nof_row,nof_column; int row_count,column_count; int nof_matrix; int **address; public: matrix_input(); int get_no_row(); int get_no_col(); int mat_elem_memalloc(); int getmatrix(); void show_matrix(); ~matrix_input(); }; #include "matrix_input.h" #include <iostream> using namespace std; // matrix_input::matrix_input() { nof_row=0; nof_column=0; row_count=0; column_count=0; … | |
This is a singlylinked list code.This shows no error but while execution it shows singlylinkedlist.exe has encountered a problem and needs to close thanks in advance [code] #include "singlylinkedlist.h" #include <iostream> using namespace std; class singlylinkedlist //class for linkedlist { private: struct node //struct daclares the abstract data and link … |