#include <iostream>
#include <stdio.h>
-int main() {
+int hashtest( int, char * [] ) {
typedef std::map<std::string, char*> dict;
tb1["00380010"] = "Admission ID";
std::cout << "Traversal of dictionary (note the proper ordering on key)." << std::endl;
- for ( dict::iterator im = tb1.begin(); im != tb1.end(); ++im )
+ for ( im = tb1.begin(); im != tb1.end(); ++im )
std::cout << " \"" << im->first << "\" = " << im->second << std::endl;
std::cout << "End of dictionary." << std::endl;
// Voir :
//http://www.developer.com/net/cplus/article.php/10919_2119781_3
//
- // domage que ca ne marche pas ...
+ // dommage que ca ne marche pas ...
+
+ return 0;
}