Add words in dictionary - c++ program, C/C++ Programming

Add words in Dictionary:

void Dictionary::add( Object& objectToAdd )

{

    if( !objectToAdd.isAssociation() )

        ClassLib_error( __ENOTASSOC );

    else

        Set::add( objectToAdd );

}

 

Association& Dictionary::lookup( const Object& toLookUp ) const

{

    Association toFind( (Object&)toLookUp, NOOBJECT );

    toFind.ownsElements(0);

 

    Association& found = (Association&)findMember( toFind );

    return found;

}

 

 

Posted Date: 10/18/2012 6:21:50 AM | Location : United States







Related Discussions:- Add words in dictionary - c++ program, Assignment Help, Ask Question on Add words in dictionary - c++ program, Get Answer, Expert's Help, Add words in dictionary - c++ program Discussions

Write discussion on Add words in dictionary - c++ program
Your posts are moderated
Related Questions
Hi, I want to get rtsp source for windows

Respected Sir, I want the above written text in a C program

Binary Options EA for DirectFX and SignalPush Project Description: I want a programmer who will build an EA based on my three types of Binary strategy's using two Indicators.

how to find minimum number if shelves required

write a atm program in c with inbuilt functions for 1782?

I hv an assignment to do, I almost done. But i cant find whats wrong- my code is to make a simple calculator using function''s all 4 patterns. I did like this- #include int add

How to write C program (interest calculator) the simple interest on a loan is calculated by the formula interest=principal*rate*days/365; ?

Modify the FACTOR program in this chapter so that it repeatedly asks for a number and calculates its factorial, until the user enters 0, at which point it terminates. You can enclo

Prepare a script for providing Instagram Followers/Likes I need to prepare a panel where my customer able to get Instagram followers or likes automatically. - A panel where I

i didnt no how to write and how to implement and the programming can be done in C and execution should be done in UNIX