Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~4K People Reached
About Me

College student.

Favorite Forums
Favorite Tags
Member Avatar for dekker13

I'm trying to add insert functionality to a textbook code example. I have an "off by one" error and I can't think of a way to fix it. Here's my attempt below: template< class NODETYPE > void List< NODETYPE >::insertMiddle( const NODETYPE &value, int position ) { ListNode< NODETYPE > …

Member Avatar for Amanuel_1
0
4K
Member Avatar for dekker13

I've completed an assignment which takes a file with records, sorts them, and creates a table with the utility 'latex'. The interesting part is that my scripts runs perfectly on my Mac (Darwin) but it runs slowly with no response (or doesn't work depending on how you look at it) …

0
124
Member Avatar for dekker13

[CODE] public: Mixed(int whole = 0); Mixed(int whole, int num, int denom); bool SetFraction(int n, int d); bool SetFraction(int n, int d=1); bool SetValue(int w, int n, int d); int getWhole(); int getNumerator(); int getDenominator(); void showFraction(); double Evaluate(); void Simplify(); void ToFraction(); Mixed& operator++(); //prefix increment Mixed operator++(int); //postfix …

Member Avatar for dekker13
0
291