Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
33% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
~2K People Reached
Favorite Forums
Member Avatar for deepecstasy

Here is my splay function: template <class WA> void SplayTree<WA>::Do_Splay(SplayNODE<WA> *temp) //temp is the node which is to be splayed { if (temp==root) //if temp is root then { return; } //Do Nothing else if (root->left==temp || root->right==temp) //else if temp is a child of root { if (root->left==temp) //if …

0
80
Member Avatar for deepecstasy

As you know how avl should be balanced after deletion of a node, I'll get to point. For starting, Im considering deleteing a node with no children. For Example a Tree: 10 / \ 5 17 / \ / \ 2 9 12 20 \ \ 3 50 Lets say …

Member Avatar for nitin1
-1
176
Member Avatar for GeneClaude

I won't be asking for a source code yet. What I need to figure out is the process of a certain Math problem with the equation that seemed to be impossible to be converted to source code. Here it goes: **A certain waveform is 0 volts for time less than …

Member Avatar for Ancient Dragon
0
456
Member Avatar for deepecstasy

So Im creating Simple Binary Tree, not BST. Im having problem in deletewith 2 child. Method for deletion is DELETE WITH COPYING. After deleteing, when I traverse the tree, it shows run time error, **Unhandled exception at 0x008B5853 in binarytree.exe: 0xC0000005: Access violation reading location 0xFEEEFEEE.** Here is the function: …

Member Avatar for mrnutty
0
255
Member Avatar for andigirlsc

In my function definitions under apply_discount, when I enter a 1 or 2 for the discountQues to see if the customer has a coupon, the program thinks I'm entering a ticket type (1=toddler, 2=junior, 3=senior). Can you tell me what I'm doing wrong? I already tried making discountQues a global …

Member Avatar for deepecstasy
0
254
Member Avatar for on93

can anyone tell me where is my problem ??? i cannot debug this program. -------------------------------------------------------------------- #include<iostream> #include<string> using namespace std; class student { private : string name; int id; float cgpa; public : void setName(string na); void setID(int number); void setCGPA(float result); string getName(); int getID(); float getCGPA(); void display(); …

Member Avatar for deepecstasy
0
132
Member Avatar for sobias

Hi Guys, There's something bugging me in the past 2 days. In Doubly Linked Lists, when will a Node get comepletely deallocated? is it when both **Next** and **Previous** references points to **NULL**? forget about the class and the method **remove()** and such. Let me make an example so you …

Member Avatar for sobias
1
213
Member Avatar for deepecstasy

I have designed a linklist based BookStore in which book's attributes will be stored in a node & so on. Plus at the end of program, I have to save all database into text file *(I tried binary reading but damn I got me killed & couldn't do it)* & …

Member Avatar for deepecstasy
0
395