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

Rookie :P

Favorite Tags
c++ x 11
Member Avatar for devourer17

Can u tell me some of the best search algorithms using tree concepts, bcoz whenever i try to do so; i only get "Binary Search Tree"...pls help me with this!

Member Avatar for mike_2000_17
0
149
Member Avatar for devourer17

#include<iostream> #include<cstdlib> #include<string.h> using namespace std; template<typename X>class list { X *l[10]; public: void insert(X *ele); void display(); }; template<typename X>void list<X>::insert(X *ele) { static int i; l[i]=ele; i++; } template<typename X>void list<X>::display() { static int i; cout<<"\nThe Name #:"<<i<<"\t"<<*l[i]<<endl; i++; } int main() { string s; list<string> l1; cout<<"\nEnter …

Member Avatar for devourer17
0
114
Member Avatar for devourer17

fstream f; char ch; int i=0; string word,word2[200]; f.open("op3_sort.txt",ios::in|ios::out); if(!f) cout<<"\nUnable To Open File!\n"; else { cout<<"\nLet's View D Content!\n"; while(!f.eof()) { getline(f,word,'\t'); word2[i]=word; i++; cout<<word2[i]; } } cout<<"\nShowing Data Now\n"; for(int a=0; a<i; a++) { cout<<endl; cout<<word2[a]; }

Member Avatar for devourer17
-1
150
Member Avatar for devourer17

I've a text file : Random.txt which comprises of Jade 12MS234 Male 18 Rocky 12MS324 Male 18 Marx 12MS632 Male 18 Now in my program i've a class class stud ( char name[10] char reg[10] char gender[10] int age ) Now I've to write a code in c++, where i've …

Member Avatar for Moschops
0
456