Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~765 People Reached
Favorite Forums
Favorite Tags
c++ x 19

6 Posted Topics

Member Avatar for prs55

Could you guys please help me to solve this pathOk function, the code is: [code=cplusplus] // graph.h #include <iostream> #include <vector> #include <queue> template <typename ItemType> class Graph { public: Graph(){ }; ~Graph() { Clear(); } void AddVertex(const ItemType& theItem); void AddEdge(int n, int m); bool Empty() const; bool EdgeExists(int …

Member Avatar for prs55
0
150
Member Avatar for prs55

Hi,I am implementing graph ,all function works except the Hamiltonian part(1 function and 2 private method).Every time i compile,it shows two error message,,i don't know how to use adjacency list or is there any way to implement it using the class declaration as given above...I have main problem on my …

Member Avatar for prs55
0
96
Member Avatar for prs55

I have a problem on getting the nth list item( function: DataType get(int n) const ),though it may seem easy. here is my code.. [code=cplusplus] #ifndef ORDERED_LIST #define ORDERED_LIST #include <fstream> using namespace std; template <class DataType> class OrderedList { public: OrderedList(); ~OrderedList(); void clear(); DataType get(int n) const; void …

Member Avatar for prs55
0
104
Member Avatar for prs55

I am trying to calculate the date of easter in the years 1900-2099 ,inclusive.And a,b,c,d,e variables are defined as in program and the date of easter is March 22+d+e(which may be in april),except in the years 1954,1981,2049 and 2076 when easter is one week earlier than the formula given. From …

Member Avatar for prs55
0
157
Member Avatar for prs55

I am having difficulty in using array to read large unsigned integer and write them and calculate their sum.Also i am going to implement the following code to check digit and character. [code] for (;;) { ch = cin.get(); if (!isdigit(ch)) break; cout << ch; } and for (;;) { …

Member Avatar for Salem
0
142
Member Avatar for toko

use just use any class name preceeded by class keyword and put the data and function members as public,private and protected as needed and enclose all of them in braces and DON't forget to end up with semicolon.And class definition goes to .h file.

Member Avatar for Bench
0
116

The End.