Sponsored Content
Top Forums Programming which stl is best suited to represent a tree Post 302446154 by vidyaj on Wednesday 18th of August 2010 02:13:03 AM
Old 08-18-2010
could you please give me a sample code
 

7 More Discussions You Might Find Interesting

1. Programming

STL map

Hi there, I am using the STL map and I print the map using: map <string, float> ngram_token_index ; map <string, float>::iterator map_iter ; //read the map ... // print the map for ( map_iter = ngram_token_index.begin() ; map_iter != ngram_token_index.end() ; map_iter++ ) cout << ... (2 Replies)
Discussion started by: superuser84
2 Replies

2. Programming

STL from win

Help me please with STL source code that works on Windows I've found on Inet STL MRU Cache (it compiles fine with Studio 2008), but when trying to build it with Kdevelop (g++ is the compiler) I've got a series of error. One of them I've placed in the source code. If it's important I can post here... (0 Replies)
Discussion started by: Orlando_ua
0 Replies

3. UNIX for Dummies Questions & Answers

c++ stl which rpm?

Hello, I'm using RHEL 5.3, I need to compile C++ code and I'd like to know which rpm contains the STL library. Thanks:) (3 Replies)
Discussion started by: pppswing
3 Replies

4. Programming

stl map - could any one explain the o/p

class tst { public: tst() { cout<<"ctor tst()\n"; } tst(const tst& ob) { cout<<"cp ctor tst()\n"; } ~tst() { cout<<"dtor tst()\n"; } }; map<string,tst> mp; int main(void) { mp; //mp=tst(); } (1 Reply)
Discussion started by: johnbach
1 Replies

5. Programming

Which language is best suited for regular expressions perl,python.ruby ?

Hello all, i am in a bit of dilema here. i dont know any thing about perl or python. only know a little bit of awk. now unable to take a decission as to which language to go for. my requirement is building a testing framework.suite which will execute ssytem comands remotely on unix... (2 Replies)
Discussion started by: achak01
2 Replies

6. Programming

c++ code to print a tree using stl map

hi all, i need c++ code to print a binary or non binary tree using stl map.... please help me to find the same.......... (1 Reply)
Discussion started by: vidyaj
1 Replies

7. Programming

STL transform question

Hi all, I pass to the transform algorithm two vectors, and the suma function. #include <algorithm> #include <iostream> #include <iterator> #include <vector> using namespace std; class Duo{ public: int one; int two; }; Duo suma(Duo first, Duo last){ Duo ret; ... (1 Reply)
Discussion started by: santiagorf
1 Replies
Net::Jabber::Loudmouth::MessageNode(3pm)		User Contributed Perl Documentation		  Net::Jabber::Loudmouth::MessageNode(3pm)

NAME
Net::Jabber::Loudmouth::MessageNode - Jabber message node HIERARCHY
Glib::Boxed +----Net::Jabber::Loudmouth::MessageNode METHODS
messagenode = $node->add_child ($name, $value=undef) o $name (string) o $value (string) string = $node->get_attribute ($name) o $name (string) $node->set_attribute ($name, $value) o $name (string) o $value (string) $node->set_attributes (...) o ... (list) messagenode = $node->get_child_by_name ($child_name) o $child_name (string) messagenode = $node->get_child messagenode = $node->find_child ($child_name) o $child_name (string) string = $node->get_name $node->set_name ($name) o $name (string) messagenode = $node->get_next messagenode = $node->get_parent messagenode = $node->get_prev boolean = $node->get_raw_mode $node->set_raw_mode ($raw_mode) o $raw_mode (boolean) string = $node->to_string string = $node->get_value $node->set_value ($value) o $value (string) SEE ALSO
Net::Jabber::Loudmouth, Glib::Boxed COPYRIGHT
Copyright (C) 2005 by Florian Ragwitz This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2011-11-15 Net::Jabber::Loudmouth::MessageNode(3pm)
All times are GMT -4. The time now is 03:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy