Search found 1 match

by Cat4eg
Tue Jul 20, 2010 8:48 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 320772

Re: The 3n + 1 problem

How can I solve compilation error in this code (http://www.programming-challenges.com):

#include <map>
#include <iostream>

typedef std::map<int, int> MapIntInt_t;

void Display(int i, int j, const MapIntInt_t&);
int MapIt(MapIntInt_t&, int);


int main()
{
MapIntInt_t mapBuffer;
mapBuffer ...

Go to advanced search